Permalink
Browse files

Rename App.scala to ScalaObject.scala for the sake of consistency.

  • Loading branch information...
1 parent fd71fca commit 05efda7c57ee4e057378f12172fa1496e4ace3b7 @jcazevedo committed May 18, 2012
Showing with 14 additions and 14 deletions.
  1. +0 −14 src/main/scala/App.scala
  2. +14 −0 src/main/scala/ScalaObject.scala
View
@@ -1,14 +0,0 @@
-class ScalaObject {
- def sayHello() = {
- println("Hi from Scala!");
- }
-}
-
-object ScalaObject {
- def main(args: Array[String]) {
- val scalaObject = new ScalaObject();
- val javaObject = new JavaObject();
- scalaObject.sayHello();
- javaObject.sayHello();
- }
-}
@@ -0,0 +1,14 @@
+class ScalaObject {
+ def sayHello() = {
+ println("Hi from Scala!")
+ }
+}
+
+object ScalaObject {
+ def main(args: Array[String]) {
+ val scalaObject = new ScalaObject()
+ val javaObject = new JavaObject()
+ scalaObject.sayHello()
+ javaObject.sayHello()
+ }
+}

0 comments on commit 05efda7

Please sign in to comment.