[
https://issues.apache.org/jira/browse/UIMA-5921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16707760#comment-16707760
]
Joern Kottmann commented on UIMA-5921:
--------------------------------------
I used Intellijs Inspect Code feature to find the places where the diamond
operator can be used instead. And it also showed some other collection
improvements for the above mentioned methods.
> Refactor code to use Java 8 collection features
> ------------------------------------------------
>
> Key: UIMA-5921
> URL: https://issues.apache.org/jira/browse/UIMA-5921
> Project: UIMA
> Issue Type: Improvement
> Reporter: Joern Kottmann
> Assignee: Marshall Schor
> Priority: Minor
> Attachments: java8_collections.patch
>
>
> The code was refactored to use new Java 8 language level features, such as
> diamond operator , List.sort, Map.putIfAbsent, Map.computeIfAbsent and
> removeIf.
> To review this patch, please search in the patch for the above mentioned
> methods. All refactoring was done automatically and reviewed by me.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)