aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp/PluginBridge.java
diff options
context:
space:
mode:
Diffstat (limited to 'netx/net/sourceforge/jnlp/PluginBridge.java')
-rw-r--r--netx/net/sourceforge/jnlp/PluginBridge.java13
1 files changed, 4 insertions, 9 deletions
diff --git a/netx/net/sourceforge/jnlp/PluginBridge.java b/netx/net/sourceforge/jnlp/PluginBridge.java
index ac703b3..14cb6bc 100644
--- a/netx/net/sourceforge/jnlp/PluginBridge.java
+++ b/netx/net/sourceforge/jnlp/PluginBridge.java
@@ -60,6 +60,7 @@ public class PluginBridge extends JNLPFile {
URL jnlp = new URL(codeBase.toExternalForm() + atts.get("jnlp_href"));
JNLPFile jnlpFile = new JNLPFile(jnlp, null, false, JNLPRuntime.getDefaultUpdatePolicy(), this.codeBase);
Map<String, String> jnlpParams = jnlpFile.getApplet().getParameters();
+ info = jnlpFile.info;
// Change the parameter name to lowercase to follow conventions.
for (Map.Entry<String, String> entry : jnlpParams.entrySet()) {
@@ -76,6 +77,9 @@ public class PluginBridge extends JNLPFile {
System.err.println("Unable to get JNLP file at: " + codeBase.toExternalForm()
+ atts.get("jnlp_href"));
}
+ } else {
+ // Should we populate this list with applet attribute tags?
+ info = new ArrayList<InformationDesc>();
}
// also, see if cache_archive is specified
@@ -180,15 +184,6 @@ public class PluginBridge extends JNLPFile {
return name;
}
- public InformationDesc getInformation(final Locale locale) {
- return new InformationDesc(this, new Locale[] { locale }) {
- protected List<Object> getItems(Object key) {
- // Should we populate this list with applet attribute tags?
- return new ArrayList<Object>();
- }
- };
- }
-
public ResourcesDesc getResources(final Locale locale, final String os,
final String arch) {
return new ResourcesDesc(this, new Locale[] { locale }, new String[] { os },