lkishalmi commented on a change in pull request #1628: [NETBEANS-3393] -
cleanup ArrayList uncheck conversion
URL: https://github.com/apache/netbeans/pull/1628#discussion_r348266857
##########
File path:
java/websvc.saas.codegen.java/src/org/netbeans/modules/websvc/saas/codegen/java/support/SourceGroupSupport.java
##########
@@ -184,7 +184,7 @@ private static Map createFoldersToSourceGroupsMap(final
SourceGroup[] sourceGrou
private static List<SourceGroup> getTestTargets(SourceGroup sourceGroup,
Map foldersToSourceGroupsMap) {
final URL[] rootURLs =
UnitTestForSourceQuery.findUnitTests(sourceGroup.getRootFolder());
if (rootURLs.length == 0) {
- return new ArrayList();
+ return new ArrayList<SourceGroup>();
}
List<SourceGroup> result = new ArrayList<SourceGroup>();
Review comment:
Also I know that probably it was not a target, but diamond here?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
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