[ 
https://issues.apache.org/jira/browse/LUCENE-9864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17308555#comment-17308555
 ] 

Dawid Weiss commented on LUCENE-9864:
-------------------------------------

Yes, we could do this. Alternatively, we a much simpler way to do it would be 
to run regenerate on nightly runs and check that git status is clean... This 
wouldn't trigger the problem immediately (some regenerate tasks are slow) but 
would eventually fail the build.

> 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: 10m
>  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: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to