Skip to content

Commit

Permalink
Fix PMD warning "LambdaCanBeMethodReference"
Browse files Browse the repository at this point in the history
  • Loading branch information
kohlschuetter committed Jun 28, 2024
1 parent 9af0921 commit ecd9ecb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public void testAbstractNamespace() throws Exception {
}
assertTrue(address.isInAbstractNamespace());
assertFalse(address.hasFilename());
assertThrows(FileNotFoundException.class, () -> address.getFile());
assertThrows(FileNotFoundException.class, address::getFile);
}

@Test
Expand Down

0 comments on commit ecd9ecb

Please sign in to comment.