diff options
Diffstat (limited to 'netx/net/sourceforge/jnlp/Node.java')
-rw-r--r-- | netx/net/sourceforge/jnlp/Node.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/netx/net/sourceforge/jnlp/Node.java b/netx/net/sourceforge/jnlp/Node.java index a3f0aa2..3ab00ca 100644 --- a/netx/net/sourceforge/jnlp/Node.java +++ b/netx/net/sourceforge/jnlp/Node.java @@ -50,19 +50,19 @@ class Node { List<Node> list = new ArrayList<Node>(); for (Enumeration e = xml.enumerateChildren(); e.hasMoreElements();) - list.add( new Node((XMLElement)e.nextElement()) ); + list.add(new Node((XMLElement) e.nextElement())); - children = list.toArray( new Node[list.size()] ); + children = list.toArray(new Node[list.size()]); - for (int i=0; i < children.length-1; i++) - children[i].next = children[i+1]; + for (int i = 0; i < children.length - 1; i++) + children[i].next = children[i + 1]; } return children; } String getAttribute(String name) { - return (String)xml.getAttribute(name); + return (String) xml.getAttribute(name); } String getNodeName() { |