mbien commented on PR #8380:
URL: https://github.com/apache/netbeans/pull/8380#issuecomment-2794432130

   now I remember why I didn't change it to an Object instance.
   
https://github.com/apache/netbeans/blob/75aabb2f12bd89fb8babbe57d36f3311a1af41e7/platform/openide.util/src/org/openide/util/WeakSet.java#L142-L146
   
   by using a boolean array as value, it becomes consistent with existing 
usage. The JDK example is nicer since it uses it as payload and compares with 
null, this is a slightly different implementation.


-- 
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: notifications-unsubscr...@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

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

Reply via email to