Skip to content

Commit 32c60ea

Browse files
author
David Saff
committed
Merge pull request #596 from Tibor17/junit.fix
Sorter#NULL seems to be a constant
2 parents ef82065 + 736c922 commit 32c60ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/org/junit/runner/manipulation/Sorter.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ public class Sorter implements Comparator<Description> {
1414
/**
1515
* NULL is a <code>Sorter</code> that leaves elements in an undefined order
1616
*/
17-
public static Sorter NULL = new Sorter(new Comparator<Description>() {
17+
public static final Sorter NULL = new Sorter(new Comparator<Description>() {
1818
public int compare(Description o1, Description o2) {
1919
return 0;
2020
}
2121
});
22+
2223
private final Comparator<Description> fComparator;
2324

2425
/**

0 commit comments

Comments
 (0)