tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1723556 - in /tomcat/trunk: java/org/apache/tomcat/util/http/LegacyCookieProcessor.java webapps/docs/config/cookie-processor.xml
Date Thu, 07 Jan 2016 14:20:01 GMT
Author: markt
Date: Thu Jan  7 14:20:01 2016
New Revision: 1723556

URL: http://svn.apache.org/viewvc?rev=1723556&view=rev
Log:
Remove unused code

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/http/LegacyCookieProcessor.java
    tomcat/trunk/webapps/docs/config/cookie-processor.xml

Modified: tomcat/trunk/java/org/apache/tomcat/util/http/LegacyCookieProcessor.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/http/LegacyCookieProcessor.java?rev=1723556&r1=1723555&r2=1723556&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/http/LegacyCookieProcessor.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/http/LegacyCookieProcessor.java Thu Jan  7 14:20:01
2016
@@ -186,31 +186,6 @@ public final class LegacyCookieProcessor
     }
 
 
-    /**
-     * @return Always returns true
-     *
-     * @deprecated No longer used. Cookie headers are now always preserved. Will
-     *             be removed in Tomcat 9.0.x.
-     */
-    @Deprecated
-    public boolean getPreserveCookieHeader() {
-        return true;
-    }
-
-
-    /**
-     * NO-OP.
-     *
-     * @param preserveCookieHeader Ignored
-     *
-     * @deprecated No longer used. Cookie headers are now always preserved. Will
-     *             be removed in Tomcat 9.0.x.
-     */
-    @Deprecated
-    public void setPreserveCookieHeader(boolean preserveCookieHeader) {
-    }
-
-
     public boolean getForwardSlashIsSeparator() {
         return httpSeparatorFlags.get('/');
     }

Modified: tomcat/trunk/webapps/docs/config/cookie-processor.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/cookie-processor.xml?rev=1723556&r1=1723555&r2=1723556&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/config/cookie-processor.xml (original)
+++ tomcat/trunk/webapps/docs/config/cookie-processor.xml Thu Jan  7 14:20:01 2016
@@ -154,12 +154,6 @@
         </p>
       </attribute>
 
-      <attribute name="preserveCookieHeader" required="false">
-        <p>This attribute is no longer used. From Tomcat 8.0.31, Tomcat will
-        always preserve the cookie header returned by
-        <code>HttpServletRequest.getHeader()</code>.</p>
-      </attribute>
-
     </attributes>
 
   </subsection>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message