Skip to content

Commit 595705d

Browse files
committed
Remove unnecessary lambda block
1 parent ef871ec commit 595705d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/test/java/org/apache/commons/lang3/RangeTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,11 @@ public int compareTo(final AbstractComparable o) {
4343
return 0;
4444
}
4545
}
46+
4647
static final class DerivedComparableA extends AbstractComparable {
4748
// empty
4849
}
50+
4951
static final class DerivedComparableB extends AbstractComparable {
5052
// empty
5153
}
@@ -193,9 +195,7 @@ void testFit() {
193195

194196
@Test
195197
void testFitNull() {
196-
assertNullPointerException(() -> {
197-
intRange.fit(null);
198-
});
198+
assertNullPointerException(() -> intRange.fit(null));
199199
}
200200

201201
@Test

0 commit comments

Comments
 (0)