You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2021/03/22 15:00:00 UTC
[lucene] 01/02: LUCENE-9856: enable ecj unused local variable
detection; run 'gradle ecjLint' to see all problems
This is an automated email from the ASF dual-hosted git repository.
mikemccand pushed a commit to branch jira/LUCENE-9856-static-analysis
in repository https://gitbox.apache.org/repos/asf/lucene.git
commit f2e3c702e9ac90abde672264c563e7d49cd8be50
Author: Mike McCandless <mi...@apache.org>
AuthorDate: Mon Mar 22 10:45:16 2021 -0400
LUCENE-9856: enable ecj unused local variable detection; run 'gradle ecjLint' to see all problems
---
gradle/validation/ecj-lint/ecj.javadocs.prefs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gradle/validation/ecj-lint/ecj.javadocs.prefs b/gradle/validation/ecj-lint/ecj.javadocs.prefs
index 9757070..70d8683 100644
--- a/gradle/validation/ecj-lint/ecj.javadocs.prefs
+++ b/gradle/validation/ecj-lint/ecj.javadocs.prefs
@@ -84,7 +84,7 @@ org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCom
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
org.eclipse.jdt.core.compiler.problem.unusedImport=error
org.eclipse.jdt.core.compiler.problem.unusedLabel=ignore
-org.eclipse.jdt.core.compiler.problem.unusedLocal=ignore
+org.eclipse.jdt.core.compiler.problem.unusedLocal=error
org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled