Fixed maven build. Renamed usages of upto to rangeTo. Excluded DownTo.kt from js lib compilation.

This commit is contained in:
Evgeny Gerashchenko
2012-08-08 17:25:16 +04:00
parent 8ad8849853
commit 39daa11e13
3 changed files with 6 additions and 5 deletions
+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() + ".rangeTo(" + getEnd() + ")";
} else {
return getStart() + ".downto(" + getEnd() + ")";
return getStart() + ".downTo(" + getEnd() + ")";
}
}