cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r651149 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/environment/wrapper/EnvironmentWrapper.java
Date Thu, 24 Apr 2008 04:32:34 GMT
Author: joerg
Date: Wed Apr 23 21:32:31 2008
New Revision: 651149

URL: http://svn.apache.org/viewvc?rev=651149&view=rev
Log:
getOutputStream() had same implementation as in super class

Modified:
    cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/environment/wrapper/EnvironmentWrapper.java

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/environment/wrapper/EnvironmentWrapper.java
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/environment/wrapper/EnvironmentWrapper.java?rev=651149&r1=651148&r2=651149&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/environment/wrapper/EnvironmentWrapper.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/environment/wrapper/EnvironmentWrapper.java
Wed Apr 23 21:32:31 2008
@@ -32,8 +32,6 @@
 import org.apache.cocoon.environment.Request;
 import org.apache.cocoon.environment.Response;
 import org.apache.cocoon.util.BufferedOutputStream;
-import org.apache.cocoon.util.Deprecation;
-
 
 /**
  * This is a wrapper class for the <code>Environment</code> object.
@@ -289,18 +287,6 @@
         } else {
             environment.redirect(sessionmode,newURL);
         }
-    }
-
-    /**
-     * Get the output stream
-     * @deprecated use {@link #getOutputStream(int)} instead.
-     */
-    public OutputStream getOutputStream()
-    throws IOException {
-        Deprecation.logger.warn("The method Environment.getOutputStream() " +
-        "is deprecated. Use getOutputStream(-1) instead.");
-        // by default we use the complete buffering output stream
-        return getOutputStream(-1);
     }
 
     /**



Mime
View raw message