diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-21 09:05:27 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-07 13:20:03 +0200 |
commit | 821386a80f8b31f1ec32aa258c113183ef4c4881 (patch) | |
tree | 1a77d1a4ca8ac04f2007c9aa7bf350fe864c366a /jvmfwk | |
parent | 58e5a71c2e66f053876ebbe37fa4ae383af2d8fc (diff) |
java: simplify some for loops to while loops
Change-Id: I323ab12c634d3baa4f624b63d7d483112c23192c
Diffstat (limited to 'jvmfwk')
-rw-r--r-- | jvmfwk/plugins/sunmajor/pluginlib/JREProperties.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/JREProperties.java b/jvmfwk/plugins/sunmajor/pluginlib/JREProperties.java index 3f7bc48efd6d..bf3aef038701 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/JREProperties.java +++ b/jvmfwk/plugins/sunmajor/pluginlib/JREProperties.java @@ -64,7 +64,7 @@ public class JREProperties Properties p = System.getProperties(); Enumeration e = p.propertyNames(); - for (; e.hasMoreElements() ;) { + while (e.hasMoreElements()) { String sProp = (String) e.nextElement(); String sCompleteProp = sProp + "=" + p.getProperty(sProp); char[] arChars = new char[sCompleteProp.length()]; |