From cc8d2286d8bf0c7b0ee22023b39fad2f188ebbc6 Mon Sep 17 00:00:00 2001 From: Anshuman Mishra Date: Tue, 10 Dec 2024 16:51:00 -0800 Subject: [PATCH] formatting --- .../org/openrewrite/java/migrate/joda/JodaTimeVisitor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/openrewrite/java/migrate/joda/JodaTimeVisitor.java b/src/main/java/org/openrewrite/java/migrate/joda/JodaTimeVisitor.java index 4bde103ce..b84b09d49 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/JodaTimeVisitor.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/JodaTimeVisitor.java @@ -165,8 +165,8 @@ public Javadoc visitReference(Javadoc.Reference reference, ExecutionContext ctx) J.MethodInvocation m = (J.MethodInvocation) super.visitMethodInvocation(method, ctx); // internal method with Joda class as return type - if (!method.getMethodType().getDeclaringType().isAssignableFrom(JODA_CLASS_PATTERN) - && method.getType().isAssignableFrom(JODA_CLASS_PATTERN)) { + if (!method.getMethodType().getDeclaringType().isAssignableFrom(JODA_CLASS_PATTERN) && + method.getType().isAssignableFrom(JODA_CLASS_PATTERN)) { return migrateNonJodaMethod(method, m); }