diff options
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/tests/java/ifc/configuration/backend/_XMultiLayerStratum.java | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/qadevOOo/tests/java/ifc/configuration/backend/_XMultiLayerStratum.java b/qadevOOo/tests/java/ifc/configuration/backend/_XMultiLayerStratum.java index 55af96b9f861..0bbadd23dae4 100644 --- a/qadevOOo/tests/java/ifc/configuration/backend/_XMultiLayerStratum.java +++ b/qadevOOo/tests/java/ifc/configuration/backend/_XMultiLayerStratum.java @@ -67,9 +67,9 @@ public class _XMultiLayerStratum extends MultiMethodTest { boolean res = true; try { - String[] LayerIds = new String[2]; - LayerIds[0] = "1 /org/openoffice/Office/Jobs.xcu"; - LayerIds[1] = "2 /org/openoffice/Office/Linguistic.xcu"; + String[] LayerIds = new String[] { + "1 /org/openoffice/Office/Jobs.xcu", + "2 /org/openoffice/Office/Linguistic.xcu" }; XLayer[] Layers = oObj.getLayers(LayerIds, ""); res = Layers.length == 2; @@ -93,12 +93,10 @@ public class _XMultiLayerStratum extends MultiMethodTest { boolean res = true; try { - String[] LayerIds = new String[2]; - LayerIds[0] = "1 /org/openoffice/Office/Jobs.xcu"; - LayerIds[1] = "2 /org/openoffice/Office/Linguistic.xcu"; - String[] Times = new String[2]; - Times[0] = ""; - Times[1] = ""; + String[] LayerIds = new String[] { + "1 /org/openoffice/Office/Jobs.xcu", + "2 /org/openoffice/Office/Linguistic.xcu" }; + String[] Times = new String[] { "", "" }; XLayer[] Layers = oObj.getMultipleLayers(LayerIds, Times); res = Layers.length == 2; |