You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by lk...@apache.org on 2019/12/03 16:15:03 UTC

[netbeans] branch master updated: [NETBEANS-3464] Fixed compiler warnings concerning rawtypes WeakSet

This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new fc55fc0  [NETBEANS-3464] Fixed compiler warnings concerning rawtypes WeakSet
fc55fc0 is described below

commit fc55fc0ab41101d5493a3ead349500eb3d21f4de
Author: Martin Klähn <mk...@apache.org>
AuthorDate: Tue Nov 26 22:48:15 2019 +0100

    [NETBEANS-3464] Fixed compiler warnings concerning rawtypes WeakSet
---
 .../web/javascript/debugger/locals/VariablesTreeExpansionModel.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/webcommon/web.javascript.debugger/src/org/netbeans/modules/web/javascript/debugger/locals/VariablesTreeExpansionModel.java b/webcommon/web.javascript.debugger/src/org/netbeans/modules/web/javascript/debugger/locals/VariablesTreeExpansionModel.java
index 1ce60dd..9a7fbc0 100644
--- a/webcommon/web.javascript.debugger/src/org/netbeans/modules/web/javascript/debugger/locals/VariablesTreeExpansionModel.java
+++ b/webcommon/web.javascript.debugger/src/org/netbeans/modules/web/javascript/debugger/locals/VariablesTreeExpansionModel.java
@@ -44,8 +44,8 @@ public class VariablesTreeExpansionModel implements TreeExpansionModel {
     
     private static final Logger LOGGER = Logger.getLogger(VariablesTreeExpansionModel.class.getName());
 
-    private Set expandedNodes = new WeakSet();
-    private Set collapsedNodes = new WeakSet();
+    private Set<Object> expandedNodes = new WeakSet<>();
+    private Set<Object> collapsedNodes = new WeakSet<>();
 
     /**
      * Defines default state (collapsed, expanded) of given node.


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

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