[
https://issues.apache.org/jira/browse/KNOX-937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16007817#comment-16007817
]
Colm O hEigeartaigh commented on KNOX-937:
------------------------------------------
Hi [~lmccay],
I was testing out my sed skills :-)
find . -name "*.java" -exec sed -i 's/new TreeMap<.\+>/new TreeMap<>/' {} \;
etc.
Colm.
> Remove redundant type information from Collections
> --------------------------------------------------
>
> Key: KNOX-937
> URL: https://issues.apache.org/jira/browse/KNOX-937
> Project: Apache Knox
> Issue Type: Improvement
> Reporter: Colm O hEigeartaigh
> Assignee: Colm O hEigeartaigh
> Priority: Trivial
> Fix For: 0.13.0
>
> Attachments:
> 0001-KNOX-937-Remove-redundant-type-information-from-Coll.patch
>
>
> As we are using Java 7, there is no need to specify redundant type
> information when creating Collections.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)