changeset 181:99443f1f2f42

Remove redundant if from JNLPFile.java
author Denis Lila <dlila@redhat.com>
date Tue, 29 Mar 2011 10:20:51 -0400
parents c04136b79d4a
children 3bbc4314e02c
files ChangeLog netx/net/sourceforge/jnlp/JNLPFile.java
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Mar 28 15:08:39 2011 -0400
+++ b/ChangeLog	Tue Mar 29 10:20:51 2011 -0400
@@ -1,3 +1,8 @@
+2011-03-29  Denis Lila <dlila@redhat.com>
+
+	* netx/net/sourceforge/jnlp/JNLPFile.java
+	(getInformation): Remove redundant if.
+
 2011-03-28  Omair Majid  <omajid@redhat.com>
 
 	* launcher/javaws.in: Split out -J arguments and pass it to the JVM.
--- a/netx/net/sourceforge/jnlp/JNLPFile.java	Mon Mar 28 15:08:39 2011 -0400
+++ b/netx/net/sourceforge/jnlp/JNLPFile.java	Tue Mar 29 10:20:51 2011 -0400
@@ -329,8 +329,7 @@
                     InformationDesc infoDesc = info.get(i);
 
                     if (localMatches(locale, infoDesc.getLocales()))
-                        if (localMatches(locale, infoDesc.getLocales()))
-                            result.addAll(infoDesc.getItems(key));
+                        result.addAll(infoDesc.getItems(key));
                 }
 
                 return result;