Browse Source

Made timeout time a long not an int.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270340 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 23 years ago
parent
commit
ace547bc97
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      proposal/myrmidon/src/java/org/apache/myrmidon/framework/exec/ExecuteWatchdog.java

+ 2
- 2
proposal/myrmidon/src/java/org/apache/myrmidon/framework/exec/ExecuteWatchdog.java View File

@@ -51,7 +51,7 @@ public class ExecuteWatchdog
* 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 @@ public class ExecuteWatchdog
* @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 )
{


Loading…
Cancel
Save