Skip to content

Commit 7065c54

Browse files
committed
Make Seq#sizeCompare param name consistent
1 parent 2acea19 commit 7065c54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library/scala/collection/Seq.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ trait SeqOps[+A, +CC[_], +C] extends Any
766766
*/
767767
def indices: Range = Range(0, length)
768768

769-
override final def sizeCompare(_size: Int): Int = lengthCompare(_size)
769+
override final def sizeCompare(otherSize: Int): Int = lengthCompare(otherSize)
770770

771771
/** Compares the length of this $coll to a test value.
772772
*

0 commit comments

Comments
 (0)