We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da7fc9d commit 10a2601Copy full SHA for 10a2601
src/main/java/org/openrewrite/java/migrate/joda/JodaTimeScanner.java
@@ -247,8 +247,8 @@ private Optional<Cursor> findArgumentExprCursor() {
247
Cursor cursor = getCursor();
248
while (cursor.getValue() instanceof Expression && isJodaExpr(cursor.getValue())) {
249
Cursor parentCursor = cursor.getParentTreeCursor();
250
- if (parentCursor.getValue() instanceof MethodCall
251
- && ((MethodCall) parentCursor.getValue()).getArguments().contains(cursor.getValue())) {
+ if (parentCursor.getValue() instanceof MethodCall &&
+ ((MethodCall) parentCursor.getValue()).getArguments().contains(cursor.getValue())) {
252
return Optional.of(cursor);
253
}
254
cursor = parentCursor;
0 commit comments