aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp/Parser.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/Parser.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/Parser.java')
-rw-r--r--netx/net/sourceforge/jnlp/Parser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/netx/net/sourceforge/jnlp/Parser.java b/netx/net/sourceforge/jnlp/Parser.java
index efa6bcd..37e3c0f 100644
--- a/netx/net/sourceforge/jnlp/Parser.java
+++ b/netx/net/sourceforge/jnlp/Parser.java
@@ -494,7 +494,7 @@ class Parser {
Locale locales[] = getLocales(node);
// create information
- InformationDesc info = new InformationDesc(file, locales);
+ InformationDesc info = new InformationDesc(locales);
// step through the elements
Node child = node.getFirstChild();