summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/helper/ProcessHandler.java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-05 09:54:58 +0200
committerNoel Grandin <noel@peralex.com>2014-08-05 11:31:50 +0200
commit0c5f51ebbcb7e22baa913e2012e3dcfcc6cf7897 (patch)
tree3d441110176e37c1a6ba2d15a3653d5023863075 /qadevOOo/runner/helper/ProcessHandler.java
parentd26540bb05b0443e7988da34372c86f88cbf1f6c (diff)
java: remove commented out code
Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
Diffstat (limited to 'qadevOOo/runner/helper/ProcessHandler.java')
-rw-r--r--qadevOOo/runner/helper/ProcessHandler.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/qadevOOo/runner/helper/ProcessHandler.java b/qadevOOo/runner/helper/ProcessHandler.java
index bc7f4293654b..5c477447381f 100644
--- a/qadevOOo/runner/helper/ProcessHandler.java
+++ b/qadevOOo/runner/helper/ProcessHandler.java
@@ -390,10 +390,6 @@ public class ProcessHandler
int hangcheck = 10;
while (!this.isFinished() && changedText)
{
- // dbg("runCommand: waiting " + mTimeOut / 1000 + " seconds while command execution is ongoing... " + count);
- // shortWait(mTimeOut);
- // shortWait(2000); // wait 2 seconds.
- //waitFor(mTimeOut);
waitFor(2000, false); // wait but don't kill
if (ow != null)
@@ -513,8 +509,6 @@ public class ProcessHandler
*/
public static long getSystemTime()
{
- // Calendar cal = new GregorianCalendar();
- // final long nTime = cal.getTimeInMillis();
final long nTime = System.currentTimeMillis();
return nTime;
}
@@ -561,7 +555,6 @@ public class ProcessHandler
for (int i = 0; i < cmdLineArray.length; i++)
{
log.println(cmdLineArray[i]);
- // log.print(" ");
}
showEnvVars();
log.println("");
@@ -605,9 +598,6 @@ public class ProcessHandler
stderr = new Pump(m_aProcess.getErrorStream(), log, "err > ", bUseOutput);
stdIn = new PrintStream(m_aProcess.getOutputStream());
- // int nExitValue = m_aProcess.exitValue();
- // int dummy = 0;
-
dbg("execute: flush io-streams");
flushInput();
@@ -828,7 +818,6 @@ public class ProcessHandler
}
catch (Exception e)
{
- //System.out.println("No ExitValue available");
}
return exitValue;