Skip to content

Commit 52060cb

Browse files
committed
Disable value of method parameter is unused warnings in Java
There are lots of these warnings and they can be ignored with this setting, or `@param params` can be added to Javadoc block for each of them. As this warning was recently introduced, and is not a common default, I have elected to turn the warning off. To turn this warning on again, ensure that all existing cases are resolved.
1 parent 98ff7b0 commit 52060cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ subprojects {
171171
properties['org.eclipse.jdt.core.compiler.problem.unusedLabel']='warning'
172172
properties['org.eclipse.jdt.core.compiler.problem.unusedLocal']='warning'
173173
properties['org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation']='warning'
174-
properties['org.eclipse.jdt.core.compiler.problem.unusedParameter']='warning'
174+
properties['org.eclipse.jdt.core.compiler.problem.unusedParameter']='ignore'
175175
properties['org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference']='enabled'
176176
properties['org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract']='disabled'
177177
properties['org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete']='disabled'

0 commit comments

Comments
 (0)