We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the issue you are experiencing.
Describe what you expected to see.
+ "{ this(" + (dim > 0 ? "Math.min(firstValue.length, secondValue.length)" : "") + "); put(firstValue, secondValue); }\n"; } } else if (resizable && firstType == null && secondType == null) { - for (String javaName : valueType.javaNames != null ? valueType.javaNames : new String[]{valueType.javaName}) { + /*~~(java.lang.ClassCastException: class org.openrewrite.java.tree.J$Ternary cannot be cast to class org.openrewrite.java.tree.J$MethodInvocation (org.openrewrite.java.tree.J$Ternary and org.openrewrite.java.tree.J$MethodInvocation are in unnamed module of loader 'app') + org.openrewrite.java.controlflow.ControlFlow$ControlFlowAnalysis.createFakeConditionalMethod(ControlFlow.java:623) + org.openrewrite.java.controlflow.ControlFlow$ControlFlowAnalysis.visitForEachLoop(ControlFlow.java:603) + org.openrewrite.java.controlflow.ControlFlow$ControlFlowAnalysis.visitForEachLoop(ControlFlow.java:90) + org.openrewrite.java.tree.J$ForEachLoop.acceptJava(J.java:1862) + org.openrewrite.java.tree.J.accept(J.java:60) + org.openrewrite.TreeVisitor.visit(TreeVisitor.java:206) + org.openrewrite.TreeVisitor.visit(TreeVisitor.java:145) + org.openrewrite.java.controlflow.ControlFlow$ControlFlowAnalysis.visitRecursive(ControlFlow.java:171) + ...)~~>*/for (String javaName : valueType.javaNames != null ? valueType.javaNames : new String[]{valueType.javaName}) { if (dim < 2 && !javaName.equals("int") && !javaName.equals("long")) { decl.text += " public " + containerType.javaName + "(" + javaName + " value) { this(1); put(0, value); }\n"; }
undefined
The text was updated successfully, but these errors were encountered:
JLLeitschuh
No branches or pull requests
Problem
Expected behavior
Example diff
Recipes in example diff:
References:
undefined
The text was updated successfully, but these errors were encountered: