You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2021/03/23 04:20:08 UTC
[lucene] branch jira/LUCENE-9856-static-analysis updated:
LUCENE-9856: override equals = must override hashcode too,
@deprecated must @Deprecated too
This is an automated email from the ASF dual-hosted git repository.
rmuir pushed a commit to branch jira/LUCENE-9856-static-analysis
in repository https://gitbox.apache.org/repos/asf/lucene.git
The following commit(s) were added to refs/heads/jira/LUCENE-9856-static-analysis by this push:
new 099184a LUCENE-9856: override equals = must override hashcode too, @deprecated must @Deprecated too
099184a is described below
commit 099184ac819b2119f0f4e66fa55da2cfb1fca05f
Author: Robert Muir <rm...@apache.org>
AuthorDate: Tue Mar 23 00:18:56 2021 -0400
LUCENE-9856: override equals = must override hashcode too, @deprecated must @Deprecated too
Easy ones to enforce since nothing fails.
---
gradle/validation/ecj-lint/ecj.javadocs.prefs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gradle/validation/ecj-lint/ecj.javadocs.prefs b/gradle/validation/ecj-lint/ecj.javadocs.prefs
index ea50101..b85d32a 100644
--- a/gradle/validation/ecj-lint/ecj.javadocs.prefs
+++ b/gradle/validation/ecj-lint/ecj.javadocs.prefs
@@ -51,9 +51,9 @@ org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=private
org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=error
org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
+org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=error
org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
-org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
+org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error
org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore
org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled
org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public