We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef871ec commit 595705dCopy full SHA for 595705d
1 file changed
src/test/java/org/apache/commons/lang3/RangeTest.java
@@ -43,9 +43,11 @@ public int compareTo(final AbstractComparable o) {
43
return 0;
44
}
45
46
+
47
static final class DerivedComparableA extends AbstractComparable {
48
// empty
49
50
51
static final class DerivedComparableB extends AbstractComparable {
52
53
@@ -193,9 +195,7 @@ void testFit() {
193
195
194
196
@Test
197
void testFitNull() {
- assertNullPointerException(() -> {
- intRange.fit(null);
198
- });
+ assertNullPointerException(() -> intRange.fit(null));
199
200
201
0 commit comments