Commit 91a7d89c authored by daidekun's avatar daidekun

debug

parent 30ef8386
......@@ -26,4 +26,11 @@ def partList(al, fromIndex) {
List<String> list = al.subList(fromIndex + 1, al.size());
System.out.println("SubList stored in List: "+list);
}
\ No newline at end of file
}
def debug(String[] args) {
def rint = 1..10;
println(rint.subList(1,4));
println(rint.subList(4,8));
}
\ No newline at end of file
......@@ -34,7 +34,9 @@ def call(body) {
arr_machines = machines.split(",")
count = arr_machines.size()
int_count = (count / 2).toInteger()
machines_list = _utils.partList(arr_machines, int_count)
_utils.debug()
/* machines_list = _utils.partList(arr_machines, int_count)*/
print machines_list
for (machine in machines_list) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment