From afd87bafa36936a5f89ee707adf931e547ba7714 Mon Sep 17 00:00:00 2001 From: Peter Donald Date: Sun, 23 Dec 2001 04:51:27 +0000 Subject: [PATCH] Use concreate class LogStreamHandler rather than interface ExeuteStreamHandler git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270350 13f79535-47bb-0310-9956-ffa450edef68 --- proposal/myrmidon/src/java/org/apache/antlib/cvslib/Cvs.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/proposal/myrmidon/src/java/org/apache/antlib/cvslib/Cvs.java b/proposal/myrmidon/src/java/org/apache/antlib/cvslib/Cvs.java index 337825fe0..d824981be 100644 --- a/proposal/myrmidon/src/java/org/apache/antlib/cvslib/Cvs.java +++ b/proposal/myrmidon/src/java/org/apache/antlib/cvslib/Cvs.java @@ -13,7 +13,6 @@ import org.apache.myrmidon.api.AbstractTask; import org.apache.myrmidon.api.TaskException; import org.apache.tools.ant.Project; import org.apache.tools.ant.taskdefs.exec.Execute; -import org.apache.tools.ant.taskdefs.exec.ExecuteStreamHandler; import org.apache.tools.ant.taskdefs.exec.LogStreamHandler; import org.apache.tools.ant.types.Commandline; import org.apache.tools.ant.types.EnvironmentData; @@ -149,7 +148,7 @@ public class Cvs final EnvironmentData env = buildEnvironment(); //FIXME: - final ExecuteStreamHandler streamhandler = + final LogStreamHandler streamhandler = new LogStreamHandler( null, Project.MSG_INFO, Project.MSG_WARN ); final Execute exe = new Execute( streamhandler, null );