summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/awt/_UnoControlCheckBoxModel.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/awt/_UnoControlCheckBoxModel.java')
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlCheckBoxModel.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlCheckBoxModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlCheckBoxModel.java
index 263205974388..74906e8bf0c7 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlCheckBoxModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlCheckBoxModel.java
@@ -45,10 +45,10 @@ public class _UnoControlCheckBoxModel extends MultiPropertyTest {
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);
+ if (util.ValueComparer.equalValue(oldValue, Integer.valueOf(17)))
+ return Integer.valueOf(25);
else
- return new Integer(17);
+ return Integer.valueOf(17);
}
};
@@ -60,7 +60,7 @@ public class _UnoControlCheckBoxModel extends MultiPropertyTest {
testProperty("BackgroundColor", new PropertyTester() {
@Override
protected Object getNewValue(String p, Object old) {
- return utils.isVoid(old) ? new Integer(1234) : null ;
+ return utils.isVoid(old) ? Integer.valueOf(1234) : null ;
}
}) ;
}
@@ -87,7 +87,7 @@ public class _UnoControlCheckBoxModel extends MultiPropertyTest {
testProperty("TextColor", new PropertyTester() {
@Override
protected Object getNewValue(String p, Object old) {
- if (utils.isVoid(old)) return new Integer(12345) ;
+ if (utils.isVoid(old)) return Integer.valueOf(12345) ;
else return null ;
}
}) ;