Changed the toString of Iterator to have the word "iterator" in it
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@14051 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
parent
94d79b0907
commit
525da8303c
|
@ -673,5 +673,5 @@ trait Iterator[+A] {
|
|||
}
|
||||
buf.append(end)
|
||||
}
|
||||
override def toString = if (hasNext) "has" else "empty"
|
||||
override def toString = (if (hasNext) "non-empty" else "empty")+" iterator"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue