[ https://issues.apache.org/jira/browse/AVRO-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thiruvalluvan M. G. updated AVRO-261: ------------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) Added documentation to about immutability. I retained the name LockableArrayList as it is indeed based on the ArrayList. In any case the name is not needed outside Schema class, so the name can be changed anytime without affecting others. (It is not private only because we have unit-tests on it). Thanks Doug, Philip, Kevin and Scott for your contribution. Committed revision 907913. > Allow Schemas to be immutable > ----------------------------- > > Key: AVRO-261 > URL: https://issues.apache.org/jira/browse/AVRO-261 > Project: Avro > Issue Type: New Feature > Components: java > Reporter: Kevin Oliver > Assignee: Thiruvalluvan M. G. > Priority: Minor > Attachments: AVRO-261.patch, AVRO-261.patch, AVRO-261.patch > > > It would be nice if there was the ability to have an immutable Schema in > java. > Without this, it makes sharing schemas risky. Also, with this, we could > (lazily) cache the hashCode which is a fairly expensive operation today, > especially on something like a record. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.