avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AVRO-582) java: add comment to generated code warning not to call set & get
Date Fri, 23 Jul 2010 18:15:54 GMT

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

Doug Cutting updated AVRO-582:

          Status: Resolved  (was: Patch Available)
    Hadoop Flags: [Reviewed]
      Resolution: Fixed

Thanks for the review, Scott.  I just committed this.

> java: add comment to generated code warning not to call set & get
> -----------------------------------------------------------------
>                 Key: AVRO-582
>                 URL: https://issues.apache.org/jira/browse/AVRO-582
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 1.4.0
>         Attachments: AVRO-582.patch
> Java's specific compiler generates classes with set(int, Object) and get(int) methods,
used by the DatumReader and DatumWriter implementations to read and write instances.  These
methods are not intended for users to call, but must be public.  We should add a comment to
the generated code indicating this, to reduce confusion.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message