diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | netx/net/sourceforge/jnlp/JNLPFile.java | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,5 +1,10 @@ 2011-01-12 Omair Majid <[email protected]> + * netx/net/sourceforge/jnlp/JNLPFile: Add missing generic type to info. + (getInformation): Remove redundant cast. + +2011-01-12 Omair Majid <[email protected]> + * netx/javax/jnlp/UnavailableServiceException.java: Remove unused imports. * netx/net/sourceforge/jnlp/AppletDesc.java: Likewise. diff --git a/netx/net/sourceforge/jnlp/JNLPFile.java b/netx/net/sourceforge/jnlp/JNLPFile.java index 58e340b..bf1c96b 100644 --- a/netx/net/sourceforge/jnlp/JNLPFile.java +++ b/netx/net/sourceforge/jnlp/JNLPFile.java @@ -80,7 +80,7 @@ public class JNLPFile { protected Version specVersion; /** information */ - protected List info; + protected List<InformationDesc> info; protected UpdateDesc update; @@ -326,7 +326,7 @@ public class JNLPFile { List<Object> result = new ArrayList<Object>(); for (int i = 0; i < info.size(); i++) { - InformationDesc infoDesc = (InformationDesc) info.get(i); + InformationDesc infoDesc = info.get(i); if (localMatches(locale, infoDesc.getLocales())) if (localMatches(locale, infoDesc.getLocales())) |