summaryrefslogtreecommitdiff
path: root/toolkit/test
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-09 10:51:42 +0200
committerNoel Grandin <noel@peralex.com>2015-06-09 13:10:43 +0200
commit441407571e2a45b08bcafc507524135e48e3a2d1 (patch)
treec17dfb392adff7ca639d2e8c015465102540a626 /toolkit/test
parent0f2007b11b4a0b39bc4e67ade30961f0d533474a (diff)
java:Non-synchronized method should not override a synchronized method
Change-Id: I46307828757ee1142747c14d2942515340083605
Diffstat (limited to 'toolkit/test')
-rw-r--r--toolkit/test/accessibility/AccessibilityTreeModel.java13
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)