You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2019/12/06 07:01:22 UTC

[GitHub] [netbeans] JaroslavTulach commented on a change in pull request #1693: [NETBEANS-3485] Fixed compiler warnings concerning rawtypes Enumerati…

JaroslavTulach commented on a change in pull request #1693: [NETBEANS-3485] Fixed compiler warnings concerning rawtypes Enumerati…
URL: https://github.com/apache/netbeans/pull/1693#discussion_r354688963
 
 

 ##########
 File path: platform/core.netigso/test/unit/src/org/netbeans/core/netigso/NetigsoOSGiActivationVisibleTest.java
 ##########
 @@ -203,19 +203,19 @@ public void testResourcesFromModule() throws Exception {
 
     public void testResourcesDirectFromBundle() throws Exception {
         Method loadResource = directBundle.getMethod("loadResources", String.class, ClassLoader.class);
-        Enumeration res = (Enumeration) loadResource.invoke(null, "org/foo/Something.txt", null);
+        Enumeration<URL> res = (Enumeration<URL>) loadResource.invoke(null, "org/foo/Something.txt", null);
 
 Review comment:
   This results in unchecked cast warnng, right?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists