David Mollitor created AVRO-2700:
------------------------------------

             Summary: 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


* 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