diff options
author | Lex Spoon <lex@lexspoon.org> | 2008-02-18 16:45:39 +0000 |
---|---|---|
committer | Lex Spoon <lex@lexspoon.org> | 2008-02-18 16:45:39 +0000 |
commit | a3d11d3121a22b9c941ce7043dfbaba82abbcedf (patch) | |
tree | a2ed3082ca061f4acbed941c67e08a95207dd707 /src/library | |
parent | 288e2408759cfb30b8aa7781d2032ea085f7f397 (diff) | |
download | scala-a3d11d3121a22b9c941ce7043dfbaba82abbcedf.tar.gz scala-a3d11d3121a22b9c941ce7043dfbaba82abbcedf.tar.bz2 scala-a3d11d3121a22b9c941ce7043dfbaba82abbcedf.zip |
Changed the toString of Iterator to have the wo...
Changed the toString of Iterator to have the word "iterator" in it
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/Iterator.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/Iterator.scala b/src/library/scala/Iterator.scala index 019ab55ffd..c539932e53 100644 --- a/src/library/scala/Iterator.scala +++ b/src/library/scala/Iterator.scala @@ -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" } |