tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1763516 - in /tomcat/trunk: java/javax/servlet/http/Cookie.java test/javax/servlet/http/TestCookieNetscapeValidator.java
Date Thu, 06 Oct 2016 08:28:37 GMT
Author: markt
Date: Thu Oct  6 08:28:37 2016
New Revision: 1763516

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

Removed:
    tomcat/trunk/test/javax/servlet/http/TestCookieNetscapeValidator.java
Modified:
    tomcat/trunk/java/javax/servlet/http/Cookie.java

Modified: tomcat/trunk/java/javax/servlet/http/Cookie.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/http/Cookie.java?rev=1763516&r1=1763515&r2=1763516&view=diff
==============================================================================
--- tomcat/trunk/java/javax/servlet/http/Cookie.java (original)
+++ tomcat/trunk/java/javax/servlet/http/Cookie.java Thu Oct  6 08:28:37 2016
@@ -419,17 +419,6 @@ class CookieNameValidator {
     }
 }
 
-class NetscapeValidator extends CookieNameValidator {
-    // the Netscape specification describes NAME=VALUE as
-    // "a sequence of characters excluding semi-colon, comma and white space"
-    // we also exclude the '=' character that separates NAME from VALUE
-    private static final String NETSCAPE_SEPARATORS = ",; " + "=";
-
-    NetscapeValidator() {
-        super(NETSCAPE_SEPARATORS);
-    }
-}
-
 class RFC6265Validator extends CookieNameValidator {
     private static final String RFC2616_SEPARATORS = "()<>@,;:\\\"/[]?={} \t";
 



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


Mime
View raw message