diff options
author | Adam Domurad <[email protected]> | 2012-05-25 11:44:13 -0400 |
---|---|---|
committer | Adam Domurad <[email protected]> | 2012-05-25 11:44:13 -0400 |
commit | 1705caf0db175cb9537313e5c1d9df14186f5bea (patch) | |
tree | 53e206445b682f387d27f3ba762eb70899caefa3 /netx/net/sourceforge/jnlp/PluginBridge.java | |
parent | ef79a2eab042f66aa10a2356d9a6f80f5b8d544f (diff) |
Changed for-loops over iterators and indices to for-each loops if they
were sufficient and clearer.
Diffstat (limited to 'netx/net/sourceforge/jnlp/PluginBridge.java')
-rw-r--r-- | netx/net/sourceforge/jnlp/PluginBridge.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/netx/net/sourceforge/jnlp/PluginBridge.java b/netx/net/sourceforge/jnlp/PluginBridge.java index 2146e64..273b213 100644 --- a/netx/net/sourceforge/jnlp/PluginBridge.java +++ b/netx/net/sourceforge/jnlp/PluginBridge.java @@ -204,9 +204,7 @@ public class PluginBridge extends JNLPFile { List<JARDesc> jarDescs = new ArrayList<JARDesc>(); jarDescs.addAll(sharedResources.getResources(JARDesc.class)); - Iterator<String> it = jars.iterator(); - while(it.hasNext()) { - String name = it.next(); + for (String name : jars) { if (name.length() > 0) jarDescs.add(new JARDesc(new URL(codeBase, name), null, null, false, true, false, true)); |