style: include UC_USELESS_OBJECT
(#5127)
This commit is contained in:
parent
06a284f811
commit
f64bc3c65d
@ -17,9 +17,6 @@
|
||||
<Match>
|
||||
<Bug pattern="SF_SWITCH_NO_DEFAULT" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Bug pattern="UC_USELESS_OBJECT" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Bug pattern="RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT" />
|
||||
</Match>
|
||||
|
@ -1,7 +1,6 @@
|
||||
package com.thealgorithms.sorts;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
public class MergeSortRecursive {
|
||||
@ -59,11 +58,3 @@ public class MergeSortRecursive {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class App {
|
||||
|
||||
public static void main(String[] args) {
|
||||
MergeSortRecursive sort = new MergeSortRecursive(new ArrayList<>(Arrays.asList(4, 3, 1, 8, 5, 10, 0, 1, 4, 11, 8, 9)));
|
||||
sort.mergeSort();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user