mbien commented on a change in pull request #3819:
URL: https://github.com/apache/netbeans/pull/3819#discussion_r830544776
##########
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:
hi brad. I noticed a few declarations don't have a generic type on the
left hand side. Was it not easily possible to assign one without breaking
things as you said in the PR text?
--
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