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 2015/08/08 20:46:29 UTC
svn commit: r1694841 -
/commons/proper/daemon/trunk/src/main/java/org/apache/commons/daemon/DaemonInitException.java
Author: sebb
Date: Sat Aug 8 18:46:29 2015
New Revision: 1694841
URL: http://svn.apache.org/r1694841
Log:
Fix indentation
Modified:
commons/proper/daemon/trunk/src/main/java/org/apache/commons/daemon/DaemonInitException.java
Modified: commons/proper/daemon/trunk/src/main/java/org/apache/commons/daemon/DaemonInitException.java
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/main/java/org/apache/commons/daemon/DaemonInitException.java?rev=1694841&r1=1694840&r2=1694841&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/main/java/org/apache/commons/daemon/DaemonInitException.java (original)
+++ commons/proper/daemon/trunk/src/main/java/org/apache/commons/daemon/DaemonInitException.java Sat Aug 8 18:46:29 2015
@@ -25,24 +25,24 @@ package org.apache.commons.daemon;
*/
public class DaemonInitException extends Exception {
- private static final long serialVersionUID = 5665891535067213551L;
+ private static final long serialVersionUID = 5665891535067213551L;
- //don't rely on Throwable#getCause (jdk1.4)
- private final Throwable cause;
+ // don't rely on Throwable#getCause (jdk1.4)
+ private final Throwable cause;
- public DaemonInitException(String message) {
- super(message);
- this.cause = null;
- }
-
- public DaemonInitException(String message, Throwable cause) {
- super(message);
- this.cause = cause;
- }
-
- public String getMessageWithCause() {
- String extra = this.cause == null ? "" : ": " + this.cause.getMessage();
- return getMessage() + extra;
- }
+ public DaemonInitException(String message) {
+ super(message);
+ this.cause = null;
+ }
+
+ public DaemonInitException(String message, Throwable cause) {
+ super(message);
+ this.cause = cause;
+ }
+
+ public String getMessageWithCause() {
+ String extra = this.cause == null ? "" : ": " + this.cause.getMessage();
+ return getMessage() + extra;
+ }
}