diff options
Diffstat (limited to 'src/library/scala/runtime/BoxedArray.scala')
-rw-r--r-- | src/library/scala/runtime/BoxedArray.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/runtime/BoxedArray.scala b/src/library/scala/runtime/BoxedArray.scala index 91651a9cec..d13c08ba38 100644 --- a/src/library/scala/runtime/BoxedArray.scala +++ b/src/library/scala/runtime/BoxedArray.scala @@ -139,6 +139,6 @@ abstract class BoxedArray[A] extends Vector[A] with VectorTemplate[A, BoxedArray (count, memo) } - /** @deprecated use slice instead */ - @deprecated def subArray(from: Int, end: Int): BoxedArray[A] = slice(from, end) + @deprecated("use slice instead") + def subArray(from: Int, end: Int): BoxedArray[A] = slice(from, end) } |