From 98ee51154b5b2a589a0168ff9e03db8703df6730 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Mon, 5 Dec 2022 22:25:45 +0100 Subject: [PATCH] Remove unnecessary method --- .../java/ch/nuth/zhaw/exbox/SortServer.java | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/app/src/main/java/ch/nuth/zhaw/exbox/SortServer.java b/app/src/main/java/ch/nuth/zhaw/exbox/SortServer.java index d6fd500..e50149b 100644 --- a/app/src/main/java/ch/nuth/zhaw/exbox/SortServer.java +++ b/app/src/main/java/ch/nuth/zhaw/exbox/SortServer.java @@ -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)); - } }