Mercurial > hg > release > icedtea6-1.10
changeset 2281:145255946142
plugin: do not shadow specVersion and fileVersion
2010-10-04 Omair Majid <omajid@redhat.com>
* /netx/net/sourceforge/jnlp/PluginBridge.java
Do not shadow specVersion and fileVersion variables by redeclaring them.
(PluginBridge): Initialize specVersion and fileVersion.
author | Omair Majid <omajid@redhat.com> |
---|---|
date | Mon, 04 Oct 2010 11:13:32 -0400 |
parents | 748a45decac0 |
children | f41b0a7fbd70 |
files | ChangeLog netx/net/sourceforge/jnlp/PluginBridge.java |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Oct 04 11:05:17 2010 -0400 +++ b/ChangeLog Mon Oct 04 11:13:32 2010 -0400 @@ -1,3 +1,9 @@ +2010-10-04 Omair Majid <omajid@redhat.com> + + * /netx/net/sourceforge/jnlp/PluginBridge.java + Do not shadow specVersion and fileVersion variables by redeclaring them. + (PluginBridge): Initialize specVersion and fileVersion. + 2010-10-04 Omair Majid <omajid@redhat.com> * netx/net/sourceforge/jnlp/resources/Messages.properties:
--- a/netx/net/sourceforge/jnlp/PluginBridge.java Mon Oct 04 11:05:17 2010 -0400 +++ b/netx/net/sourceforge/jnlp/PluginBridge.java Mon Oct 04 11:13:32 2010 -0400 @@ -35,8 +35,6 @@ public class PluginBridge extends JNLPFile { - Version specVersion = new Version("1.0"); - Version fileVersion = new Version("1.1"); String name; String[] jars = new String[0]; @@ -48,6 +46,8 @@ int width, int height, Hashtable atts) throws Exception { + specVersion = new Version("1.0"); + fileVersion = new Version("1.1"); this.codeBase = codebase; this.sourceLocation = documentBase;