Skip to content

Commit d7ffeae

Browse files
committed
style: include UC_USELESS_OBJECT
1 parent 4bb6455 commit d7ffeae

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

spotbugs-exclude.xml

-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
<Match>
2121
<Bug pattern="SF_SWITCH_NO_DEFAULT" />
2222
</Match>
23-
<Match>
24-
<Bug pattern="UC_USELESS_OBJECT" />
25-
</Match>
2623
<Match>
2724
<Bug pattern="RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT" />
2825
</Match>

src/main/java/com/thealgorithms/sorts/MergeSortRecursive.java

-8
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,3 @@ private static List<Integer> sort(List<Integer> unsortedA, List<Integer> unsorte
5959
}
6060
}
6161
}
62-
63-
class App {
64-
65-
public static void main(String[] args) {
66-
MergeSortRecursive sort = new MergeSortRecursive(new ArrayList<>(Arrays.asList(4, 3, 1, 8, 5, 10, 0, 1, 4, 11, 8, 9)));
67-
sort.mergeSort();
68-
}
69-
}

0 commit comments

Comments
 (0)