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/02 15:37:04 UTC

svn commit: r1003798 - /commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java

Author: sebb
Date: Sat Oct  2 13:37:04 2010
New Revision: 1003798

URL: http://svn.apache.org/viewvc?rev=1003798&view=rev
Log:
Immutable, so can be final

Modified:
    commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java

Modified: commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java?rev=1003798&r1=1003797&r2=1003798&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java (original)
+++ commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java Sat Oct  2 13:37:04 2010
@@ -54,7 +54,7 @@ public class ExecuteWatchdog implements 
     private Process process;
 
     /** Is a user-supplied timeout in use */
-    private boolean hasWatchdog;
+    private final boolean hasWatchdog;
 
     /** Say whether or not the watchdog is currently monitoring a process. */
     private boolean watch;