Skip to content

Commit a6da08c

Browse files
committed
fix: Use unnamed pattern variable in unused catch binding
1 parent 508198d commit a6da08c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/com/retailsvc/http/internal/DispatchHandlerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ void interceptorCanCatchDecoratorFailure() throws Exception {
133133
(request, next) -> {
134134
try {
135135
return next.proceed();
136-
} catch (RuntimeException e) {
136+
} catch (RuntimeException _) {
137137
caught.set(true);
138138
return Response.status(HTTP_INTERNAL_ERROR);
139139
}

0 commit comments

Comments
 (0)