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

« back to all changes in this revision

Viewing changes to netx/net/sourceforge/jnlp/LaunchException.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:
146
146
     * and will be removed once netx no longer supports 1.3.
147
147
     */
148
148
    public Throwable[] getCauses() {
149
 
        ArrayList result = new ArrayList();
 
149
        ArrayList<Throwable> result = new ArrayList<Throwable>();
150
150
 
151
151
        Reflect r = new Reflect();
152
152
        Throwable cause = this.cause;
156
156
            cause = (Throwable) r.invoke(cause, "getCause");
157
157
        }
158
158
 
159
 
        return (Throwable[]) result.toArray(new Throwable[0]);
 
159
        return result.toArray(new Throwable[0]);
160
160
    }
161
161
 
162
162
    /**