Remove unnecessary method

This commit is contained in:
Manuel Thalmann 2022-12-05 22:25:45 +01:00
parent 3efdc088fc
commit 98ee51154b

View file

@ -159,22 +159,4 @@ public class SortServer implements CommandExecutor {
return arg + " " + ex.getMessage();
}
}
public static void main(String[] args) {
SortServer sorter = new SortServer();
String sort;
sort = "BUBBLE RANDOM 10000";
System.out.println(sorter.execute(sort));
sort = "SELECTION RANDOM 10000";
System.out.println(sorter.execute(sort));
sort = "INSERTION RANDOM 10000";
System.out.println(sorter.execute(sort));
sort = "BUBBLE ASC 10000";
System.out.println(sorter.execute(sort));
sort = "SELECTION ASC 10000";
System.out.println(sorter.execute(sort));
sort = "INSERTION ASC 10000";
System.out.println(sorter.execute(sort));
}
}