diff options
Diffstat (limited to 'src/library/scala/io/Position.scala')
-rw-r--r-- | src/library/scala/io/Position.scala | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/library/scala/io/Position.scala b/src/library/scala/io/Position.scala index daa4e103be..85149223ee 100644 --- a/src/library/scala/io/Position.scala +++ b/src/library/scala/io/Position.scala @@ -6,7 +6,8 @@ ** |/ ** \* */ -package scala.io +package scala +package io /** The object Position provides convenience methods to encode * line and column number in one single integer. The encoded line @@ -68,14 +69,6 @@ abstract class Position { } object Position extends Position { - /** The undefined position */ - @deprecated("This will be removed", "2.9.0") - final val NOPOS = 0 - - /** The first position in a source file */ - @deprecated("This will be removed", "2.9.0") - final val FIRSTPOS = encode(1, 1) - def checkInput(line: Int, column: Int) { if (line < 0) throw new IllegalArgumentException(line + " < 0") |