~ubuntu-branches/ubuntu/natty/icedtea-web/natty-proposed

« back to all changes in this revision

Viewing changes to netx/net/sourceforge/jnlp/Node.java

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-11-24 13:23:28 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101124132328-2xb9z39vxga63vr9
Tags: 1.0~20101124-0ubuntu1
* Update to hg 20101124.
* Fix xulrunner dependencies for natty.
* Build-depend on pkg-config and libgtk2.0-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
 
48
48
    Node[] getChildNodes() {
49
49
        if (children == null) {
50
 
            List list = new ArrayList();
 
50
            List<Node> list = new ArrayList<Node>();
51
51
 
52
52
            for (Enumeration e = xml.enumerateChildren(); e.hasMoreElements();)
53
53
                list.add( new Node((XMLElement)e.nextElement()) );
54
54
 
55
 
            children = (Node[]) list.toArray( new Node[list.size()] );
 
55
            children = list.toArray( new Node[list.size()] );
56
56
 
57
57
            for (int i=0; i < children.length-1; i++)
58
58
                children[i].next = children[i+1];