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 ff4c6ad commit 36fe591Copy full SHA for 36fe591
src/main/java/org/openrewrite/staticanalysis/FallThroughVisitor.java
@@ -296,6 +296,7 @@ private boolean isFinalTrue(Expression condition) {
296
} else if (value instanceof J.ClassDeclaration) {
297
List<Statement> statements = ((J.ClassDeclaration) value).getBody().getStatements();
298
declaration = finalVariableDeclaration(statements, id);
299
+ break;
300
}
301
cursor = cursor.getParentTreeCursor();
302
if (cursor.isRoot()) {
0 commit comments