commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1003798 - /commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java
Date Sat, 02 Oct 2010 13:37:04 GMT
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;



Mime
View raw message