Revision: 5607
          http://jnode.svn.sourceforge.net/jnode/?rev=5607&view=rev
Author:   crawley
Date:     2009-07-14 14:06:25 +0000 (Tue, 14 Jul 2009)

Log Message:
-----------
Remove deprecated methods

Modified Paths:
--------------
    trunk/shell/src/shell/org/jnode/shell/CommandShell.java
    trunk/shell/src/test/org/jnode/test/shell/harness/TestCommandShell.java

Modified: trunk/shell/src/shell/org/jnode/shell/CommandShell.java
===================================================================
--- trunk/shell/src/shell/org/jnode/shell/CommandShell.java     2009-07-14 
13:45:58 UTC (rev 5606)
+++ trunk/shell/src/shell/org/jnode/shell/CommandShell.java     2009-07-14 
14:06:25 UTC (rev 5607)
@@ -995,20 +995,6 @@
         return syntaxMgr;
     }
 
-    /**
-     * @deprecated Don't use this method.  I intend to get rid of it.
-     */
-    public PrintWriter getOut() {
-        return outPW;
-    }
-
-    /**
-     * @deprecated Don't use this method.  I intend to get rid of it.
-     */
-    public PrintWriter getErr() {
-        return errPW;
-    }
-
     @Override
     public void addConsoleOuputRecorder(Writer writer) {
         // FIXME do security check

Modified: 
trunk/shell/src/test/org/jnode/test/shell/harness/TestCommandShell.java
===================================================================
--- trunk/shell/src/test/org/jnode/test/shell/harness/TestCommandShell.java     
2009-07-14 13:45:58 UTC (rev 5606)
+++ trunk/shell/src/test/org/jnode/test/shell/harness/TestCommandShell.java     
2009-07-14 14:06:25 UTC (rev 5607)
@@ -22,7 +22,6 @@
 
 import java.io.InputStream;
 import java.io.PrintStream;
-import java.io.PrintWriter;
 
 import org.jnode.shell.CommandLine;
 import org.jnode.shell.CommandShell;
@@ -56,16 +55,6 @@
     }
 
     @Override
-    public PrintWriter getErr() {
-        return cerr.getPrintWriter(true);
-    }
-
-    @Override
-    public PrintWriter getOut() {
-        return cout.getPrintWriter(false);
-    }
-
-    @Override
     protected CommandIO resolveStream(CommandIO stream) {
         if (stream == CommandLine.DEFAULT_STDIN) {
             return cin;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Jnode-svn-commits mailing list
Jnode-svn-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jnode-svn-commits

Reply via email to