gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GORA-390) Gora compiler generate wrong isDirtyXXXX method signature
Date Thu, 23 Oct 2014 17:36:34 GMT

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

Lewis John McGibbney commented on GORA-390:
-------------------------------------------

+1

> Gora compiler generate wrong isDirtyXXXX method signature
> ---------------------------------------------------------
>
>                 Key: GORA-390
>                 URL: https://issues.apache.org/jira/browse/GORA-390
>             Project: Apache Gora
>          Issue Type: Bug
>          Components: gora-compiler
>    Affects Versions: 0.5
>            Reporter: Damien Raude-Morvan
>            Priority: Minor
>
> Hi,
> I think I've spotted a small issue with actual code generated by gora-compiler.
> For each field in source Avro schema, it will generate a isDirtyXXX method which have
a _value_ parameter which is not really used.
> For instance, for a _content_ field, the following code is generated :
> {code}
>   public boolean isContentDirty(java.lang.CharSequence value) {
>     return isDirty(6);
>   }
> {code}
> I would expect the following code to be generated instead (ie. without value parameter)
:
> {code}
>   public boolean isContentDirty() {
>     return isDirty(6);
>   }
> {code}
> Regards,



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message