diff options
Diffstat (limited to 'qadevOOo/tests/java/ifc')
-rw-r--r-- | qadevOOo/tests/java/ifc/sheet/_XArrayFormulaRange.java | 4 | ||||
-rw-r--r-- | qadevOOo/tests/java/ifc/style/_CharacterProperties.java | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/ifc/sheet/_XArrayFormulaRange.java b/qadevOOo/tests/java/ifc/sheet/_XArrayFormulaRange.java index 7fa5a7feccbd..87f7aee16cdc 100644 --- a/qadevOOo/tests/java/ifc/sheet/_XArrayFormulaRange.java +++ b/qadevOOo/tests/java/ifc/sheet/_XArrayFormulaRange.java @@ -152,8 +152,8 @@ public class _XArrayFormulaRange extends MultiMethodTest { s1 = s1.trim() ; s2 = s2.trim() ; while (p1 < s1.length() && p2 < s2.length()) { - while (s1.charAt(p1) == ' ') p1 ++ ; - while (s2.charAt(p2) == ' ') p2 ++ ; + while (s1.charAt(p1) == ' ') { p1 ++; } + while (s2.charAt(p2) == ' ') { p2 ++; } if (s1.charAt(p1) != s2.charAt(p2)) return false ; p1 ++ ; p2 ++ ; diff --git a/qadevOOo/tests/java/ifc/style/_CharacterProperties.java b/qadevOOo/tests/java/ifc/style/_CharacterProperties.java index 27270b74c631..6e968337a353 100644 --- a/qadevOOo/tests/java/ifc/style/_CharacterProperties.java +++ b/qadevOOo/tests/java/ifc/style/_CharacterProperties.java @@ -499,8 +499,9 @@ public class _CharacterProperties extends MultiPropertyTest { int count = members.size(); String[] res = new String[count]; int i=0; - while(oEnum.hasNext()) + while(oEnum.hasNext()) { res[i++] = oEnum.next(); + } return res; } |