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

Mike Rodriguez commented on AVRO-1455:
--------------------------------------

Is there any Jiras logged to address
[https://issues.apache.org/jira/browse/AVRO-1455?focusedCommentId=13899535&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13899535]
which concerns dealing with enum types in deepCopy so that we can convert from 
generics to specifics and vice versa [~cutting]?

I'd be up for making one if it hasn't been put on the map yet.  I think the 
functionality to convert from generics to specifics would be valuable in 
certain workflows.a

> Deep copy does not need to create new instances for primitives
> --------------------------------------------------------------
>
>                 Key: AVRO-1455
>                 URL: https://issues.apache.org/jira/browse/AVRO-1455
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.7.6
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 1.7.7
>
>         Attachments: AVRO-1455.patch
>
>
> Java Boolean, Integer, Long, Float and Double are immutable so there's no 
> need to create new instances for them in GenericData#deepCopy. Note that this 
> optimization is already present for String.



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

Reply via email to