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

ASF subversion and git services commented on AVRO-2774:
-------------------------------------------------------

Commit 4d82fb5dd8ea28594248cc1ac44b8519781f66dd in avro's branch 
refs/heads/branch-1.11 from clesaec
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=4d82fb5dd ]

AVRO-2774: Generate @Overrides annotations (#1755)

* AVRO-2774 : add override and test it

* AVRO-2774 : remove sun deps for java17

> missing @Override annotations in generated code
> -----------------------------------------------
>
>                 Key: AVRO-2774
>                 URL: https://issues.apache.org/jira/browse/AVRO-2774
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.9.1, 1.9.2
>         Environment: openjdk version "11.0.6" 2020-01-14 LTS
> avro 1.9.2
> gradle avro plugin
>            Reporter: Tim Spriggs
>            Priority: Major
>              Labels: pull-request-available
>   Original Estimate: 24h
>          Time Spent: 10m
>  Remaining Estimate: 23h 50m
>
> When applying errorProne to my project, I get errors from the MissingOverride 
> rule. eg:
> error: [MissingOverride] getSpecificData overrides method in 
> SpecificRecordBase
> error: [MissingOverride] getSchema implements method in SpecificRecordBase
> error: [MissingOverride] get implements method in SpecificRecordBase
> error: [MissingOverride] put implements method in SpecificRecordBase
>  
> If these are always tagged with @Override then static analysis and IDE hints 
> perform better.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to