diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-15 16:25:10 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-16 08:15:52 +0200 |
commit | fa22664be218c211c41342c6296616c316b2c3b1 (patch) | |
tree | 2118e12dffce57f5027ef4aed227d27acf8c6ed6 /scripting/java | |
parent | 94ae3e827b71da5be77ff04522ff156770801b25 (diff) |
java: always use braces for while loops
Change-Id: Iff896b0cace8b8305528b3b0140004ea856169ce
Diffstat (limited to 'scripting/java')
-rw-r--r-- | scripting/java/com/sun/star/script/framework/container/ParcelDescriptor.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripting/java/com/sun/star/script/framework/container/ParcelDescriptor.java b/scripting/java/com/sun/star/script/framework/container/ParcelDescriptor.java index f8b5d0ddb960..93e36a8be1d0 100644 --- a/scripting/java/com/sun/star/script/framework/container/ParcelDescriptor.java +++ b/scripting/java/com/sun/star/script/framework/container/ParcelDescriptor.java @@ -233,8 +233,9 @@ public class ParcelDescriptor { public void setScriptEntries(Iterator<ScriptEntry> scripts) { clearEntries(); - while (scripts.hasNext()) + while (scripts.hasNext()) { addScriptEntry(scripts.next()); + } } private String getLanguageProperty(String name) { |