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-1209) Include immutable source templates with Maven plugin
Date Thu, 29 Nov 2012 22:08:58 GMT

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

Doug Cutting updated AVRO-1209:
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7.3
           Status: Resolved  (was: Patch Available)

I committed this.  Thanks, Jeff!
                
> Include immutable source templates with Maven plugin
> ----------------------------------------------------
>
>                 Key: AVRO-1209
>                 URL: https://issues.apache.org/jira/browse/AVRO-1209
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.7.2
>            Reporter: Jeff Kolesky
>            Assignee: Jeff Kolesky
>            Priority: Minor
>             Fix For: 1.7.3
>
>         Attachments: AVRO-1209.patch, AVRO-988-1209.patch, AVRO-988-1209.patch, setter-option-for-compiler.patch,
setter-option-for-compiler.patch
>
>
> It would be nice to have mostly immutable classes generated by the Maven plugin for the
cases when people want to use Avro specific records as their first class model objects and
want some assurances of immutability.  An easy way to accomplish this is with another template
set that can be shipped with the compiler artifact.  Since the {{templateDirectory}} of the
plugin is already configurable, then to use this one must only change their local configuration.
> This is somewhat related to AVRO-988, but I have removed the field setters in addition
to making the fields private.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message