/hg/release/icedtea-web-1.2: Fix LaunchException constructor to ...
ddadacha at icedtea.classpath.org
ddadacha at icedtea.classpath.org
Thu Feb 2 13:51:38 PST 2012
changeset 1b11cb5cd396 in /hg/release/icedtea-web-1.2
details: http://icedtea.classpath.org/hg/release/icedtea-web-1.2?cmd=changeset;node=1b11cb5cd396
author: Danesh Dadachanji <ddadacha at redhat.com>
date: Thu Feb 02 16:15:27 2012 -0500
Fix LaunchException constructor to handle null a description.
diffstat:
ChangeLog | 5 +++++
netx/net/sourceforge/jnlp/LaunchException.java | 3 ++-
2 files changed, 7 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 466a2440ed59 -r 1b11cb5cd396 ChangeLog
--- a/ChangeLog Wed Feb 01 13:09:44 2012 -0500
+++ b/ChangeLog Thu Feb 02 16:15:27 2012 -0500
@@ -1,3 +1,8 @@
+2012-02-02 Danesh Dadachanji <ddadacha at redhat.com>
+
+ * netx/net/sourceforge/jnlp/LaunchException.java: Fix message
+ to handle null description
+
2012-02-01 Danesh Dadachanji <ddadacha at redhat.com>
* netx/net/sourceforge/jnlp/LaunchException.java: Add description
diff -r 466a2440ed59 -r 1b11cb5cd396 netx/net/sourceforge/jnlp/LaunchException.java
--- a/netx/net/sourceforge/jnlp/LaunchException.java Wed Feb 01 13:09:44 2012 -0500
+++ b/netx/net/sourceforge/jnlp/LaunchException.java Thu Feb 02 16:15:27 2012 -0500
@@ -52,7 +52,8 @@
* Creates a LaunchException without detail message.
*/
public LaunchException(JNLPFile file, Exception cause, String severity, String category, String summary, String description) {
- super(severity + ": " + category + ": " + summary + " " + description);
+ super(severity + ": " + category + ": " + summary + " "
+ + (description == null ? "" : description));
this.file = file;
this.category = category;
More information about the distro-pkg-dev
mailing list