summaryrefslogtreecommitdiff
path: root/src/main/org/apache/tools/ant/taskdefs/cvslib/RedirectingOutputStream.java
diff options
context:
space:
mode:
authorStefan Bodewig <bodewig@apache.org>2005-02-15 15:58:06 +0000
committerStefan Bodewig <bodewig@apache.org>2005-02-15 15:58:06 +0000
commit53cde27dd34a3c692aea2ca0649324937a6202ca (patch)
tree5c71c54c7db99717464c8b15a579d4eca9f6a90d /src/main/org/apache/tools/ant/taskdefs/cvslib/RedirectingOutputStream.java
parentdfa1546f5a8702483bdfbf314faee2c37207d0b7 (diff)
downloadant-53cde27dd34a3c692aea2ca0649324937a6202ca.tar.gz
Use LineOrientedOutputStream with some tweaks to keep BWC signatures in LogOutputStream
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277671 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/main/org/apache/tools/ant/taskdefs/cvslib/RedirectingOutputStream.java')
-rw-r--r--src/main/org/apache/tools/ant/taskdefs/cvslib/RedirectingOutputStream.java12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/main/org/apache/tools/ant/taskdefs/cvslib/RedirectingOutputStream.java b/src/main/org/apache/tools/ant/taskdefs/cvslib/RedirectingOutputStream.java
index f5bd60728..fe1c605f2 100644
--- a/src/main/org/apache/tools/ant/taskdefs/cvslib/RedirectingOutputStream.java
+++ b/src/main/org/apache/tools/ant/taskdefs/cvslib/RedirectingOutputStream.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2002,2004 The Apache Software Foundation
+ * Copyright 2002,2004-2005 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,29 +16,23 @@
*/
package org.apache.tools.ant.taskdefs.cvslib;
-import org.apache.tools.ant.taskdefs.LogOutputStream;
+import org.apache.tools.ant.util.LineOrientedOutputStream;
/**
* A dummy stream that just passes stuff to the parser.
- *
- * @version $Revision$ $Date$
*/
-class RedirectingOutputStream
- extends LogOutputStream {
+class RedirectingOutputStream extends LineOrientedOutputStream {
private final ChangeLogParser parser;
-
/**
* Creates a new instance of this class.
*
* @param parser the parser to which output is sent.
*/
public RedirectingOutputStream(final ChangeLogParser parser) {
- super(null, 0);
this.parser = parser;
}
-
/**
* Logs a line to the log system of ant.
*