diff options
Diffstat (limited to 'netx/net/sourceforge/jnlp/LaunchException.java')
-rw-r--r-- | netx/net/sourceforge/jnlp/LaunchException.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/netx/net/sourceforge/jnlp/LaunchException.java b/netx/net/sourceforge/jnlp/LaunchException.java index 2ddd0ad..2666387 100644 --- a/netx/net/sourceforge/jnlp/LaunchException.java +++ b/netx/net/sourceforge/jnlp/LaunchException.java @@ -146,7 +146,7 @@ public class LaunchException extends Exception { * and will be removed once netx no longer supports 1.3. */ public Throwable[] getCauses() { - ArrayList result = new ArrayList(); + ArrayList<Throwable> result = new ArrayList<Throwable>(); Reflect r = new Reflect(); Throwable cause = this.cause; @@ -156,7 +156,7 @@ public class LaunchException extends Exception { cause = (Throwable) r.invoke(cause, "getCause"); } - return (Throwable[]) result.toArray(new Throwable[0]); + return result.toArray(new Throwable[0]); } /** |