commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1554864 - /commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/DefaultExecutorTest.java
Date Thu, 02 Jan 2014 18:05:43 GMT
Author: sebb
Date: Thu Jan  2 18:05:42 2014
New Revision: 1554864

URL: http://svn.apache.org/r1554864
Log:
Unnecessary (already done by instance init)

Modified:
    commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/DefaultExecutorTest.java

Modified: commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/DefaultExecutorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/DefaultExecutorTest.java?rev=1554864&r1=1554863&r2=1554864&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/DefaultExecutorTest.java
(original)
+++ commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/DefaultExecutorTest.java
Thu Jan  2 18:05:42 2014
@@ -967,8 +967,6 @@ public class DefaultExecutorTest extends
             final CommandLine cl = CommandLine.parse("/bin/ls");
             cl.addArgument("/opt");
 
-            final Executor exec = new DefaultExecutor();
-
             // redirect stdout/stderr to pipedOutputStream
             final PipedOutputStream pipedOutputStream = new PipedOutputStream();
             final PumpStreamHandler psh = new PumpStreamHandler(pipedOutputStream);
@@ -1009,8 +1007,6 @@ public class DefaultExecutorTest extends
             final CommandLine cl = CommandLine.parse("/bin/ls");
             cl.addArgument("/opt");
 
-            final Executor exec = new DefaultExecutor();
-
             // redirect only stdout to pipedOutputStream
             final PipedOutputStream pipedOutputStream = new PipedOutputStream();
             final PumpStreamHandler psh = new PumpStreamHandler(pipedOutputStream, new ByteArrayOutputStream());



Mime
View raw message