donaldp 01/12/22 16:22:53
Modified: proposal/myrmidon/src/java/org/apache/myrmidon/framework/exec
ExecuteWatchdog.java
Log:
Made timeout time a long not an int.
Revision Changes Path
1.2 +2 -2
jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/framework/exec/ExecuteWatchdog.java
Index: ExecuteWatchdog.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/framework/exec/ExecuteWatchdog.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ExecuteWatchdog.java 2001/12/23 00:11:08 1.1
+++ ExecuteWatchdog.java 2001/12/23 00:22:53 1.2
@@ -51,7 +51,7 @@
* timeout duration. Once the process running time exceeds this it
should be
* killed
*/
- private int m_timeout;
+ private long m_timeout;
/**
* Creates a new watchdog with a given timeout.
@@ -59,7 +59,7 @@
* @param timeout the timeout for the process in milliseconds. It must be
* greather than 0.
*/
- public ExecuteWatchdog( int timeout )
+ public ExecuteWatchdog( final long timeout )
{
if( timeout < 1 )
{
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>