diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-05 15:29:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-08 09:48:20 +0200 |
commit | 616b3ad50404f35d84708b3feeb8c66f2f23f1b1 (patch) | |
tree | fbff023a34b3cc62b2c5beb592b95e65ce28251b /toolkit | |
parent | b6a83e99c8f4442c3c96198ac816dcb99419a67e (diff) |
java: remove exceptions from throws clauses that are not
.. actually thrown
Change-Id: Ia326ac7f82e11b948ed0f34e20908a96e7adcd10
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/test/accessibility/AccessibleTextHandler.java | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/toolkit/test/accessibility/AccessibleTextHandler.java b/toolkit/test/accessibility/AccessibleTextHandler.java index 0c87d16eda38..ff424a9f8d76 100644 --- a/toolkit/test/accessibility/AccessibleTextHandler.java +++ b/toolkit/test/accessibility/AccessibleTextHandler.java @@ -476,7 +476,7 @@ class AccessibleTextHandler extends NodeHandler /** * Display a dialog with a text field and a pair of cancel/do-it buttons */ -class TextActionDialog extends JDialog +abstract class TextActionDialog extends JDialog implements ActionListener { AccTreeNode aNode; @@ -588,11 +588,8 @@ class TextActionDialog extends JDialog /** override this for dialog-specific action */ - boolean action( JTextComponent aText, AccTreeNode aNode ) - throws IndexOutOfBoundsException - { - return false; - } + abstract boolean action( JTextComponent aText, AccTreeNode aNode ) + throws IndexOutOfBoundsException; } |