summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/style
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-06-27 16:08:28 +0200
committerMichael Stahl <mstahl@redhat.com>2012-06-29 22:03:01 +0200
commit453d7edc424d6652e209ace4915d96193a79be71 (patch)
tree0a6af928cf7d1fd90ec995ae7d114f08eaf617fd /qadevOOo/tests/java/ifc/style
parentb65017a2a7af290f6681da7b197a52efe83d5185 (diff)
Java5 update - convert more code to use generics:wq
Change-Id: I7ea32cad40a6657e4e5886d04af008cb6d67ac6e
Diffstat (limited to 'qadevOOo/tests/java/ifc/style')
-rw-r--r--qadevOOo/tests/java/ifc/style/_ParagraphProperties.java6
-rw-r--r--qadevOOo/tests/java/ifc/style/_ParagraphPropertiesAsian.java6
2 files changed, 6 insertions, 6 deletions
diff --git a/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java b/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java
index c009b351229d..4abf8c93c95d 100644
--- a/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java
+++ b/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java
@@ -183,10 +183,10 @@ public class _ParagraphProperties extends MultiPropertyTest {
protected PropertyTester BooleanTester = new PropertyTester() {
protected Object getNewValue(String propName, Object oldValue) {
if ((oldValue != null) &&
- (oldValue.equals(new Boolean((boolean) false)))) {
- return new Boolean((boolean) true);
+ (oldValue.equals(new Boolean(false)))) {
+ return new Boolean(true);
} else {
- return new Boolean((boolean) false);
+ return new Boolean(false);
}
}
};
diff --git a/qadevOOo/tests/java/ifc/style/_ParagraphPropertiesAsian.java b/qadevOOo/tests/java/ifc/style/_ParagraphPropertiesAsian.java
index 100c4e1f6f6a..c82b8e0f0d32 100644
--- a/qadevOOo/tests/java/ifc/style/_ParagraphPropertiesAsian.java
+++ b/qadevOOo/tests/java/ifc/style/_ParagraphPropertiesAsian.java
@@ -40,10 +40,10 @@ public class _ParagraphPropertiesAsian extends MultiPropertyTest {
protected PropertyTester BooleanTester = new PropertyTester() {
protected Object getNewValue(String propName, Object oldValue) {
if ((oldValue != null) &&
- (oldValue.equals(new Boolean((boolean) false)))) {
- return new Boolean((boolean) true);
+ (oldValue.equals(new Boolean(false)))) {
+ return new Boolean(true);
} else {
- return new Boolean((boolean) false);
+ return new Boolean(false);
}
}
};