summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qadevOOo/tests/java/ifc/configuration/backend/_XSchemaSupplier.java6
-rw-r--r--qadevOOo/tests/java/ifc/configuration/backend/_XSingleLayerStratum.java6
2 files changed, 5 insertions, 7 deletions
diff --git a/qadevOOo/tests/java/ifc/configuration/backend/_XSchemaSupplier.java b/qadevOOo/tests/java/ifc/configuration/backend/_XSchemaSupplier.java
index d2738772c38f..aee858b6a647 100644
--- a/qadevOOo/tests/java/ifc/configuration/backend/_XSchemaSupplier.java
+++ b/qadevOOo/tests/java/ifc/configuration/backend/_XSchemaSupplier.java
@@ -36,9 +36,9 @@ public class _XSchemaSupplier extends MultiMethodTest {
if (aSchema == null) {
log.println("\treturned Layer is NULL -- FAILED");
+ } else {
+ res &= checkSchema(aSchema);
}
-
- res &= checkSchema(aSchema);
} catch (com.sun.star.configuration.backend.BackendAccessException e) {
log.println("Unexpected Exception (" + e + ") -- FAILED");
res &= false;
@@ -106,4 +106,4 @@ public class _XSchemaSupplier extends MultiMethodTest {
return res;
}
-} \ No newline at end of file
+}
diff --git a/qadevOOo/tests/java/ifc/configuration/backend/_XSingleLayerStratum.java b/qadevOOo/tests/java/ifc/configuration/backend/_XSingleLayerStratum.java
index 3ead3c9b0b5e..33eb0cfa8962 100644
--- a/qadevOOo/tests/java/ifc/configuration/backend/_XSingleLayerStratum.java
+++ b/qadevOOo/tests/java/ifc/configuration/backend/_XSingleLayerStratum.java
@@ -50,8 +50,7 @@ public class _XSingleLayerStratum extends MultiMethodTest {
if (aLayer == null) {
log.println("\treturned Layer is NULL -- FAILED");
- }
- else {
+ } else {
res &= checkLayer(aLayer);
}
} catch (com.sun.star.configuration.backend.BackendAccessException e) {
@@ -89,8 +88,7 @@ public class _XSingleLayerStratum extends MultiMethodTest {
if (aLayer == null) {
log.println("\treturned Layer is NULL -- FAILED");
- }
- else {
+ } else {
res &= checkLayer(aLayer);
}
} catch (com.sun.star.configuration.backend.BackendAccessException e) {