diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-06 08:55:09 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-12 09:41:28 +0200 |
commit | 0477e6c39b7ce8b7f6560fbf222c19fe4f358dc8 (patch) | |
tree | 218eba20dd23c6a865cf01aa7532bf1261a69bc8 /qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java | |
parent | e2e55a7c49079dfd896da6515b98d451e4c8735b (diff) |
java: add @Override annotation to overriding methods
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
Diffstat (limited to 'qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java')
-rw-r--r-- | qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java index 8415b12957d1..4951d40382e1 100644 --- a/qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java +++ b/qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java @@ -42,6 +42,7 @@ public class _UnoControlButtonModel extends MultiPropertyTest { * Redefined method returns value, that differs from property value. */ protected PropertyTester ColorTester = new PropertyTester() { + @Override protected Object getNewValue(String propName, Object oldValue) { if (util.ValueComparer.equalValue(oldValue, new Integer(17))) return new Integer(25); @@ -54,6 +55,7 @@ public class _UnoControlButtonModel extends MultiPropertyTest { * Redefined method returns value, that differs from property value. */ protected PropertyTester BoolTester = new PropertyTester() { + @Override protected Object getNewValue(String propName, Object oldValue) { if (util.ValueComparer.equalValue(oldValue, new Boolean(true))) return new Boolean(false); |