Skip to content

Commit 1bd5a57

Browse files
Update src/main/java/org/openrewrite/java/migrate/util/MigrateInflaterDeflaterToAutoCloseable.java
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 188073f commit 1bd5a57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/openrewrite/java/migrate/util/MigrateInflaterDeflaterToAutoCloseable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public TreeVisitor<?, ExecutionContext> getVisitor() {
5959
@Override
6060
public J.MethodInvocation visitMethodInvocation(J.MethodInvocation method, ExecutionContext ctx) {
6161
J.MethodInvocation mi = super.visitMethodInvocation(method, ctx);
62-
if (JAVA_UTIL_ZIP_DEFLATER_END_MATCHER.matches(mi) ||
62+
if (JAVA_UTIL_ZIP_DEFLATER_END_MATCHER.matches(mi) ||
6363
JAVA_UTIL_ZIP_INFLATER_END_MATCHER.matches(mi)) {
6464
return mi.withName(mi.getName().withSimpleName("close"));
6565
}

0 commit comments

Comments
 (0)