aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp/JNLPFile.java
diff options
context:
space:
mode:
authorOmair Majid <[email protected]>2013-09-20 11:41:36 -0400
committerOmair Majid <[email protected]>2013-09-20 11:41:36 -0400
commit9ba69baff18dd24b207e0a8b6ad76133fe4ea536 (patch)
treedcb4a28c4129b0513293d2032bc99fd0e299e0cc /netx/net/sourceforge/jnlp/JNLPFile.java
parent5f870d7b838b281083fd99cfc234f739815d23e9 (diff)
Unit test for InformationDesc
Also remove the references to JNLPFile from InformationDesc. This makes it much easier to instantiate InformationDesc for tests.
Diffstat (limited to 'netx/net/sourceforge/jnlp/JNLPFile.java')
-rw-r--r--netx/net/sourceforge/jnlp/JNLPFile.java2
1 files changed, 1 insertions, 1 deletions
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<Object> getItems(Object key) {
List<Object> result = new ArrayList<Object>();