You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/07/07 22:17:00 UTC

[jira] [Work logged] (AVRO-2774) missing @Override annotations in generated code

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

ASF GitHub Bot logged work on AVRO-2774:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 07/Jul/22 22:16
            Start Date: 07/Jul/22 22:16
    Worklog Time Spent: 10m 
      Work Description: RyanSkraba merged PR #1755:
URL: https://github.com/apache/avro/pull/1755




Issue Time Tracking
-------------------

            Worklog Id:     (was: 788786)
    Remaining Estimate: 23h 50m  (was: 24h)
            Time Spent: 10m

> 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
>   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)