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

Fokko Driesprong resolved AVRO-2700.
------------------------------------
    Fix Version/s: 1.10.0
       Resolution: Fixed

> Change Java Collection Usage
> ----------------------------
>
>                 Key: AVRO-2700
>                 URL: https://issues.apache.org/jira/browse/AVRO-2700
>             Project: Apache Avro
>          Issue Type: Improvement
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Minor
>             Fix For: 1.10.0
>
>
> * Use {{HashMap}} instead of {{LinkedHashMap}} when there's not iteration of 
> the collection involved.  Other there is needless overhead of maintaining 
> order.
> * Use {{Collections.emptyMap}} when an empty map is required
> * Use {{computeIfAbsent}}
> * Other related minor cleanup



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to