donaldp 01/12/22 14:14:16
Modified: proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/exec
Execute.java
Log:
Remove Execute.getExitValue() as it is not needed.
Revision Changes Path
1.9 +1 -12
jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/exec/Execute.java
Index: Execute.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/exec/Execute.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- Execute.java 2001/12/22 21:43:49 1.8
+++ Execute.java 2001/12/22 22:14:15 1.9
@@ -287,17 +287,6 @@
}
/**
- * query the exit value of the process.
- *
- * @return the exit value, 1 if the process was killed, or
Project.INVALID
- * if no exit value has been received
- */
- public int getExitValue()
- {
- return m_exitValue;
- }
-
- /**
* Runs a process defined by the command line and returns its exit
status.
*
* @return the exit status of the subprocess or <code>INVALID</code>
@@ -346,7 +335,7 @@
m_streamHandler.stop();
if( m_watchdog != null )
m_watchdog.checkException();
- return getExitValue();
+ return m_exitValue;
}
/**
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>