This commit is contained in:
Evgeny Gerashchenko
2012-07-31 20:56:36 +04:00
parent 5667e76f4f
commit 1a1661c15f
+2 -2
View File
@@ -33,9 +33,9 @@ public final class IntRange implements Range<Integer>, IntIterable {
@Override
public String toString() {
if (count >= 0) {
return "" + getStart() + ".upto(" + getEnd() + ")";
return getStart() + ".upto(" + getEnd() + ")";
} else {
return "" + getStart() + ".downto(" + getEnd() + ")";
return getStart() + ".downto(" + getEnd() + ")";
}
}