diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-17 11:01:38 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-12-19 10:41:55 +0200 |
commit | 41f4417ba4ebbb29c614ad4ac1198efce709f495 (patch) | |
tree | 9debf6d161b2d6ffe18a8b110ed6749ce9ab79cd /toolkit | |
parent | 126eea88e615f3fcc82e081a3dbc7cb85154e575 (diff) |
java: dodgy synchronisation around clear
if we want to synchronize access to this datastructure, and we want
to use it as a lock object, creating a new one is not a good idea
Change-Id: I99c2f665242ef16611bc15a0690b8da222085efb
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/test/accessibility/NodeHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/test/accessibility/NodeHandler.java b/toolkit/test/accessibility/NodeHandler.java index 73a36aa917a4..a172be7773b6 100644 --- a/toolkit/test/accessibility/NodeHandler.java +++ b/toolkit/test/accessibility/NodeHandler.java @@ -43,7 +43,7 @@ abstract class NodeHandler { synchronized (maChildList) { - maChildList = new Vector<AccessibleTreeNode> (); + maChildList.clear(); } } |