You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2010/10/16 17:28:19 UTC
svn commit: r1023306 -
/commons/proper/daemon/trunk/src/java/org/apache/commons/daemon/DaemonInitException.java
Author: sebb
Date: Sat Oct 16 15:28:19 2010
New Revision: 1023306
URL: http://svn.apache.org/viewvc?rev=1023306&view=rev
Log:
Might as well make cause final
Modified:
commons/proper/daemon/trunk/src/java/org/apache/commons/daemon/DaemonInitException.java
Modified: commons/proper/daemon/trunk/src/java/org/apache/commons/daemon/DaemonInitException.java
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/java/org/apache/commons/daemon/DaemonInitException.java?rev=1023306&r1=1023305&r2=1023306&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/java/org/apache/commons/daemon/DaemonInitException.java (original)
+++ commons/proper/daemon/trunk/src/java/org/apache/commons/daemon/DaemonInitException.java Sat Oct 16 15:28:19 2010
@@ -25,10 +25,11 @@ package org.apache.commons.daemon;
public class DaemonInitException extends Exception {
//don't rely on Throwable#getCause (jdk1.4)
- private Throwable cause;
+ private final Throwable cause;
public DaemonInitException(String message) {
super(message);
+ this.cause = null;
}
public DaemonInitException(String message, Throwable cause) {