From dev-return-177333-apmail-tomcat-dev-archive=tomcat.apache.org@tomcat.apache.org Thu Oct 6 08:28:47 2016 Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9711619396 for ; Thu, 6 Oct 2016 08:28:47 +0000 (UTC) Received: (qmail 61542 invoked by uid 500); 6 Oct 2016 08:28:42 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 61468 invoked by uid 500); 6 Oct 2016 08:28:42 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 61458 invoked by uid 99); 6 Oct 2016 08:28:42 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2016 08:28:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id CF1C51A54ED for ; Thu, 6 Oct 2016 08:28:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id o2COiqRlGwKQ for ; Thu, 6 Oct 2016 08:28:41 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id A21CF5F405 for ; Thu, 6 Oct 2016 08:28:40 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 4359AE0216 for ; Thu, 6 Oct 2016 08:28:39 +0000 (UTC) Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 886743A023D for ; Thu, 6 Oct 2016 08:28:38 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: dev@tomcat.apache.org From: markt@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20161006082838.886743A023D@svn01-us-west.apache.org> 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