diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-18 11:43:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-01-05 09:59:03 +0200 |
commit | 10039462dfebdf6727529ca38b4105fcd7dd5727 (patch) | |
tree | dae25c3bdfa24dac171b10a2ac095f169b883fe5 /toolkit/test/accessibility/AccessibleTreeNode.java | |
parent | 82257e9087dc405fdc45cba7d6867be53b5ec9b3 (diff) |
java: remove more dead code
found by looking for unused parameters (in Eclipse)
Change-Id: I03cf9bc8312e59747b2d0ac153ee2fc8d76be893
Diffstat (limited to 'toolkit/test/accessibility/AccessibleTreeNode.java')
-rw-r--r-- | toolkit/test/accessibility/AccessibleTreeNode.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/toolkit/test/accessibility/AccessibleTreeNode.java b/toolkit/test/accessibility/AccessibleTreeNode.java index 951b86e8179c..22fa035f95f4 100644 --- a/toolkit/test/accessibility/AccessibleTreeNode.java +++ b/toolkit/test/accessibility/AccessibleTreeNode.java @@ -23,7 +23,7 @@ import com.sun.star.lang.IndexOutOfBoundsException; /** Base class for all tree nodes. */ -class AccessibleTreeNode +abstract class AccessibleTreeNode { /// The parent node. It is null for the root node. private AccessibleTreeNode maParent; @@ -70,10 +70,7 @@ class AccessibleTreeNode throw new IndexOutOfBoundsException(); } - public int indexOf (AccessibleTreeNode aNode) - { - return -1; - } + public abstract int indexOf (AccessibleTreeNode aNode); /** Create a path to this node by first asking the parent for its path and then appending this object. |