Skip to content

Commit b9da22f

Browse files
committed
Update for change in UnnecessaryThrows
1 parent 151eec7 commit b9da22f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/openrewrite/java/migrate/UseJavaUtilBase64.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public J visitMethodInvocation(J.MethodInvocation method, ExecutionContext ctx)
9696
// Note: The sun.misc.CharacterDecoder#decodeBuffer throws an IOException, whereas the java
9797
// Base64Decoder.decode does not throw a checked exception. If this recipe converts decode, we
9898
// may need to remove the catch or completely unwrap a try/catch.
99-
doAfterVisit(new UnnecessaryCatch());
99+
doAfterVisit(new UnnecessaryCatch(false));
100100
}
101101
return m;
102102
}

0 commit comments

Comments
 (0)