[
https://issues.apache.org/jira/browse/LUCENE-9864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17308990#comment-17308990
]
ASF subversion and git services commented on LUCENE-9864:
---------------------------------------------------------
Commit 3ed87c867a6c3edd5d8b5aa1a1dee3264af401aa in lucene's branch
refs/heads/main from zacharymorn
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=3ed87c8 ]
LUCENE-9864: Enforce @Override annotation everywhere (#40)
Requiring the annotation is helpful because if an abstract method is removed,
the concrete methods will then show up as compile errors: preventing dead code
from being accidentally left behind.
Co-authored-by: Robert Muir <[email protected]>
> Enforce @Override annotation with ecj static analysis configuration
> -------------------------------------------------------------------
>
> Key: LUCENE-9864
> URL: https://issues.apache.org/jira/browse/LUCENE-9864
> Project: Lucene - Core
> Issue Type: Improvement
> Components: general/build
> Reporter: Zach Chen
> Priority: Minor
> Labels: build
> Fix For: main (9.0)
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> This is a spin-off issue from
> https://issues.apache.org/jira/browse/LUCENE-9856, where ecj configuration
> was updated to catch dead code and lots of dead code was removed. In this
> issue, we would like to continue the clean up by enforcing *@Override* usage
> with *org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=error*
> configuration, and fix problems that arise.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]