diff --git a/plexus-interactivity-api/src/main/java/org/codehaus/plexus/components/interactivity/DefaultInputHandler.java b/plexus-interactivity-api/src/main/java/org/codehaus/plexus/components/interactivity/DefaultInputHandler.java index fb67b36..79f65f6 100644 --- a/plexus-interactivity-api/src/main/java/org/codehaus/plexus/components/interactivity/DefaultInputHandler.java +++ b/plexus-interactivity-api/src/main/java/org/codehaus/plexus/components/interactivity/DefaultInputHandler.java @@ -26,8 +26,6 @@ import org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable; import org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException; -import org.codehaus.plexus.personality.plexus.lifecycle.phase.Disposable; -import org.codehaus.plexus.components.interactivity.AbstractInputHandler; import java.io.BufferedReader; import java.io.IOException; @@ -41,7 +39,7 @@ */ public class DefaultInputHandler extends AbstractInputHandler - implements Initializable, Disposable + implements Initializable { private BufferedReader consoleReader; @@ -62,16 +60,4 @@ public void initialize() { consoleReader = new BufferedReader( new InputStreamReader( System.in ) ); } - - public void dispose() - { - try - { - consoleReader.close(); - } - catch ( IOException e ) - { - getLogger().error( "Error closing input stream must be ignored", e ); - } - } }