BradWalker commented on a change in pull request #3819:
URL: https://github.com/apache/netbeans/pull/3819#discussion_r830548239
##########
File path:
enterprise/j2ee.ddloaders/src/org/netbeans/modules/j2ee/ddloaders/multiview/CmpFieldsNode.java
##########
@@ -89,7 +89,7 @@ public SectionNode getNodeForElement(Object element) {
}
} else if (element instanceof CmpField[]) {
final List list1 = Arrays.asList(cmpFields.getCmpFields());
- final List list2 = new LinkedList(Arrays.asList((CmpField[])
element));
+ final List list2 = new LinkedList<>(Arrays.asList((CmpField[])
element));
Review comment:
Hey @mbien , you are correct. I spent most of the time really trying to
make the actual variables into a generic type and it was just not possible
without also changing the public interfaces. Eventually, I'll get there, just
not today. 8-)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists