groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul King (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GROOVY-9052) Missing @Generated annotation on @Vetoable
Date Fri, 22 Mar 2019 01:47:00 GMT

     [ https://issues.apache.org/jira/browse/GROOVY-9052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paul King resolved GROOVY-9052.
-------------------------------
       Resolution: Fixed
         Assignee: Paul King
    Fix Version/s: 2.5.7
                   3.0.0-beta-1

Fixed. Thanks for spotting the issue.

> Missing @Generated annotation on @Vetoable
> ------------------------------------------
>
>                 Key: GROOVY-9052
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9052
>             Project: Groovy
>          Issue Type: Bug
>          Components: Compiler
>    Affects Versions: 2.5.6
>            Reporter: Vadimo
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 3.0.0-beta-1, 2.5.7
>
>
> jacoco is reporting incorrect code coverage results for @Vetoable annotated classes. 
> The generated 
> * set*
> * fireVetoablePropertyChange
> * removeVetoablePropertyChangeListener, 
> * addVetoablePropertyChangeListener
> * getVetoablePropertyChangeListener
> methods should probably be annotated with @Generated
> In the examples below 11 methods that are detected as not covered.
> [http://docs.groovy-lang.org/2.5.6/html/gapi/groovy/beans/Vetoable.html]
> {code:java}
>  @groovy.beans.Vetoable
>  class Person {
>      String firstName
>      def zipCode
>  }
> {code}
> This bug was found during Hackergarten Zürich 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message