diff options
author | Li Haoyi <haoyi@dropbox.com> | 2015-02-04 06:28:31 -0800 |
---|---|---|
committer | Li Haoyi <haoyi@dropbox.com> | 2015-02-04 06:28:31 -0800 |
commit | 3e92267b4f030f7bc7f0040fef50bd07e4709b21 (patch) | |
tree | e10900fcd96d9b6c8cc53e5b641bdd11ebfe59b8 /examples/crossBuilds/simple/jvm/src/main/scala | |
parent | b094df4a6a6cf1bf7eeb36d842970aa8b3d94d5f (diff) | |
download | hands-on-scala-js-3e92267b4f030f7bc7f0040fef50bd07e4709b21.tar.gz hands-on-scala-js-3e92267b4f030f7bc7f0040fef50bd07e4709b21.tar.bz2 hands-on-scala-js-3e92267b4f030f7bc7f0040fef50bd07e4709b21.zip |
clientserver examples now work with crossProject
Diffstat (limited to 'examples/crossBuilds/simple/jvm/src/main/scala')
-rw-r--r-- | examples/crossBuilds/simple/jvm/src/main/scala/simple/Platform.scala | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/examples/crossBuilds/simple/jvm/src/main/scala/simple/Platform.scala b/examples/crossBuilds/simple/jvm/src/main/scala/simple/Platform.scala index c5e8216..4713005 100644 --- a/examples/crossBuilds/simple/jvm/src/main/scala/simple/Platform.scala +++ b/examples/crossBuilds/simple/jvm/src/main/scala/simple/Platform.scala @@ -1,7 +1,7 @@ //jvm/src/main/scala/simple/Platform.scala package simple import java.text.SimpleDateFormat -import java.util.{TimeZone, Locale} +import java.util.TimeZone object Platform{ def format(ts: Long) = { @@ -11,12 +11,4 @@ object Platform{ fmt.setTimeZone(TimeZone.getTimeZone("UTC")) fmt.format(new java.util.Date(ts)) } - def main(args: Array[String]) = { - val times = Seq( - 0L, - 1L << 32 - ) - println("Running on JVM! " + 1.0d) - println(Simple.formatTimes(times)) - } }
\ No newline at end of file |