From 821386a80f8b31f1ec32aa258c113183ef4c4881 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 21 Aug 2014 09:05:27 +0200 Subject: java: simplify some for loops to while loops Change-Id: I323ab12c634d3baa4f624b63d7d483112c23192c --- jvmfwk/plugins/sunmajor/pluginlib/JREProperties.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jvmfwk') 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()]; -- cgit