From 9ba69baff18dd24b207e0a8b6ad76133fe4ea536 Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Fri, 20 Sep 2013 11:41:36 -0400 Subject: Unit test for InformationDesc Also remove the references to JNLPFile from InformationDesc. This makes it much easier to instantiate InformationDesc for tests. --- netx/net/sourceforge/jnlp/JNLPFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'netx/net/sourceforge/jnlp/JNLPFile.java') diff --git a/netx/net/sourceforge/jnlp/JNLPFile.java b/netx/net/sourceforge/jnlp/JNLPFile.java index a48ed7e..3577482 100644 --- a/netx/net/sourceforge/jnlp/JNLPFile.java +++ b/netx/net/sourceforge/jnlp/JNLPFile.java @@ -371,7 +371,7 @@ public class JNLPFile { * through the specified locale. */ public InformationDesc getInformation(final Locale locale) { - return new InformationDesc(this, new Locale[] { locale }) { + return new InformationDesc(new Locale[] { locale }) { @Override protected List getItems(Object key) { List result = new ArrayList(); -- cgit v1.2.3