aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp/PluginBridge.java
diff options
context:
space:
mode:
authorAdam Domurad <[email protected]>2012-05-25 11:44:13 -0400
committerAdam Domurad <[email protected]>2012-05-25 11:44:13 -0400
commit1705caf0db175cb9537313e5c1d9df14186f5bea (patch)
tree53e206445b682f387d27f3ba762eb70899caefa3 /netx/net/sourceforge/jnlp/PluginBridge.java
parentef79a2eab042f66aa10a2356d9a6f80f5b8d544f (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.java4
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));