Skip to content

Commit

Permalink
The Code works now for every method
Browse files Browse the repository at this point in the history
  • Loading branch information
jannisCode committed Dec 10, 2024
1 parent cae21d0 commit 3462610
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ private boolean skipParameterNameCodeMining(String[] parameterNames, List<?> arg
}

private boolean skipParameterNamesCodeMinings(IMethod method) {

Check warning on line 167 in org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/codemining/CalleeJavaMethodParameterVisitor.java

View check run for this annotation

Jenkins - Eclipse JDT / Compiler and API Tools

Unnecessary Code

NORMAL: The value of the parameter method is not used
return method.getNumberOfParameters() <= 1;
return false;
}

private boolean skipParameterNamesCodeMinings(IMethodBinding methodBinding) {
Expand Down

0 comments on commit 3462610

Please sign in to comment.