From fa22664be218c211c41342c6296616c316b2c3b1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 15 Oct 2014 16:25:10 +0200 Subject: java: always use braces for while loops Change-Id: Iff896b0cace8b8305528b3b0140004ea856169ce --- qadevOOo/tests/java/ifc/style/_CharacterProperties.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qadevOOo/tests/java/ifc/style/_CharacterProperties.java') 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; } -- cgit