Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9C945107B3 for ; Thu, 2 Jan 2014 18:12:47 +0000 (UTC) Received: (qmail 15334 invoked by uid 500); 2 Jan 2014 18:06:19 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 15218 invoked by uid 500); 2 Jan 2014 18:06:15 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 14945 invoked by uid 99); 2 Jan 2014 18:06:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jan 2014 18:06:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jan 2014 18:06:03 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 435AF23888FE; Thu, 2 Jan 2014 18:05:43 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@commons.apache.org From: sebb@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140102180543.435AF23888FE@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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());