Files
kotlin-fork/j2k/tests/testData/ast/issues/kt-1074.java
T
Pavel V. Talanov 1570a3792b Converter tests:
Change test data files extension to "java"
2013-12-22 16:49:57 +04:00

14 lines
481 B
Java

//file
package demo;
class Test {
static void subListRangeCheck(int fromIndex, int toIndex, int size) {
if (fromIndex < 0)
throw new IndexOutOfBoundsException("fromIndex = " + fromIndex);
if (toIndex > size)
throw new IndexOutOfBoundsException("toIndex = " + toIndex);
if (fromIndex > toIndex)
throw new IllegalArgumentException("fromIndex(" + fromIndex
+ ") > toIndex(" + toIndex + ")");
}
}