diff options
Diffstat (limited to 'toolkit/test/accessibility')
-rw-r--r-- | toolkit/test/accessibility/AccessibilityTreeModel.java | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/toolkit/test/accessibility/AccessibilityTreeModel.java b/toolkit/test/accessibility/AccessibilityTreeModel.java index bc6abf8457eb..49f3b4ea3c78 100644 --- a/toolkit/test/accessibility/AccessibilityTreeModel.java +++ b/toolkit/test/accessibility/AccessibilityTreeModel.java @@ -106,7 +106,7 @@ public class AccessibilityTreeModel the child and add the child to the canvas. */ @Override - public Object getChild (Object aParent, int nIndex) + public synchronized Object getChild (Object aParent, int nIndex) { AccessibleTreeNode aChild = (AccessibleTreeNode)super.getChild (aParent, nIndex); @@ -119,17 +119,6 @@ public class AccessibilityTreeModel return aChild; } - @Override - public Object getChildNoCreate (Object aParent, int nIndex) - { - AccessibleTreeNode aChild = (AccessibleTreeNode)super.getChildNoCreate (aParent, nIndex); - - return aChild; - } - - - - /** Remove a node (and all children) from the tree model. */ private boolean removeChild (AccessibleTreeNode aNode) |