Skip to content

Commit a84c7b9

Browse files
author
Dima Tkach
committed
Fixed some style issues
1 parent add83b8 commit a84c7b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/library/scala/collection/mutable/ArrayOps.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ sealed trait ArrayOps[T] extends Any with ArrayLike[T, Array[T]] with CustomPara
4444
override def slice(from: Int, until: Int): Array[T] = {
4545
val lo = math.max(from, 0)
4646
val hi = math.min(math.max(until, 0), repr.length)
47-
val size = math.max(hi-lo, 0)
47+
val size = math.max(hi - lo, 0)
4848
val result = java.lang.reflect.Array.newInstance(elementClass, size)
49-
if(size > 0) {
49+
if (size > 0) {
5050
Array.copy(repr, lo, result, 0, size)
5151
}
5252
result.asInstanceOf[Array[T]]

0 commit comments

Comments
 (0)