diff options
-rw-r--r-- | src/library/scala/mobile/Code.scala | 2 | ||||
-rw-r--r-- | src/library/scala/util/parsing/SimpleTokenizer.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/mobile/Code.scala b/src/library/scala/mobile/Code.scala index e1adffd07e..27de533b83 100644 --- a/src/library/scala/mobile/Code.scala +++ b/src/library/scala/mobile/Code.scala @@ -12,7 +12,7 @@ package scala.mobile; -import java.lang.reflect.Constructor,; +import java.lang.reflect.Constructor; import java.lang.reflect.Method; import java.lang.reflect.Modifier; diff --git a/src/library/scala/util/parsing/SimpleTokenizer.scala b/src/library/scala/util/parsing/SimpleTokenizer.scala index 073ad03365..43d819a336 100644 --- a/src/library/scala/util/parsing/SimpleTokenizer.scala +++ b/src/library/scala/util/parsing/SimpleTokenizer.scala @@ -14,7 +14,7 @@ package scala.util.parsing; class SimpleTokenizer(in: Iterator[char], delimiters: String) extends Iterator[String] { - import scala.runtime.compat.Math.max; + private def max(x: int, y: char): int = if (x > y) x else y; val tracing = false; |