Skip to content

Commit

Permalink
test: SocketChannelTest: Suppress PMD warning
Browse files Browse the repository at this point in the history
Seen with PMD 7.0.0
  • Loading branch information
kohlschuetter committed Mar 22, 2024
1 parent 560d9c0 commit 85acd4c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ private void testDoubleBind(boolean reuseAddress) throws Exception {
// fail("Did not throw SocketException"); // no longer thrown in Sonoma 14.2.1?
}
return sc;
} catch (SocketException e) {
} catch (SocketException e) { // NOPMD.ExceptionAsFlowControl
String msg = checkKnownBugAcceptFailure(e);
if (msg != null) {
throw new TestAbortedWithImportantMessageException(
Expand Down

0 comments on commit 85acd4c

Please sign in to comment.