Refactor the format

This commit is contained in:
Manuel Thalmann 2022-12-12 23:30:40 +01:00
parent cae8f549ba
commit 0b11be8442

View file

@ -161,8 +161,11 @@ public class SortServer implements CommandExecutor {
// Sortiermethode)
elapsed = (double) ((endTime - startTime) / count);
if (!isSorted(b))
if (!isSorted(b)) {
throw new Exception("ERROR not sorted");
}
return elapsed;
}