Skip to content

Commit 3c81b90

Browse files
gnodetmichael-o
authored andcommitted
Do not close the System.out stream
1 parent 0a3fb13 commit 3c81b90

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

plexus-interactivity-api/src/main/java/org/codehaus/plexus/components/interactivity/DefaultOutputHandler.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* @version $Id$
3939
*/
4040
public class DefaultOutputHandler
41-
implements Initializable, Disposable, OutputHandler
41+
implements Initializable, OutputHandler
4242
{
4343
private PrintWriter consoleWriter;
4444

@@ -48,11 +48,6 @@ public void initialize()
4848
consoleWriter = new PrintWriter( System.out );
4949
}
5050

51-
public void dispose()
52-
{
53-
consoleWriter.close();
54-
}
55-
5651
public void write( String line )
5752
throws IOException
5853
{

0 commit comments

Comments
 (0)