Converter tests:

Change test data files extension to "java"
This commit is contained in:
Pavel V. Talanov
2013-12-18 17:49:13 +04:00
parent d69c61c972
commit 1570a3792b
358 changed files with 1541 additions and 1541 deletions
@@ -0,0 +1,14 @@
//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 + ")");
}
}