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/11/26 20:34:44 UTC

[GitHub] [netbeans] matthiasblaesing commented on a change in pull request #1657: Fix rawtypes warning for Iterator in platform cluster

matthiasblaesing commented on a change in pull request #1657: Fix rawtypes warning for Iterator in platform cluster
URL: https://github.com/apache/netbeans/pull/1657#discussion_r350960179
 
 

 ##########
 File path: platform/openide.util/src/org/openide/util/NbCollections.java
 ##########
 @@ -222,8 +219,8 @@ protected boolean accept(Object o) {
      *               if true, a {@link ClassCastException} may arise during some set operation
      * @return a view over the raw set guaranteed to match the specified type
      */
-    public static <E> Set<E> checkedSetByFilter(Set rawSet, Class<E> type, boolean strict) {
-        return new CheckedSet<E>(rawSet, type, strict);
+    public static <E> Set<E> checkedSetByFilter(Set<?> rawSet, Class<E> type, boolean strict) {
 
 Review comment:
   Same comment as line 66.

----------------------------------------------------------------
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