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/07/18 19:58:26 UTC

[GitHub] [netbeans] vieiro commented on issue #1328: HashMap is not thread safe. Field map is typically synchronized by this. However, in two places, field map is not protected with synchronized.

vieiro commented on issue #1328: HashMap is not thread safe. Field map is typically synchronized by this. However, in two places, field map is not protected with synchronized.
URL: https://github.com/apache/netbeans/pull/1328#issuecomment-512964620
 
 
   Wow, all those "synchronized" things look terrific to me as well :-)
   While we're at it, what about a cleanup and using a "Collections.synchronizedMap" instead? Wouldn't that be good enough?

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