You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2017/01/24 20:07:54 UTC
svn commit: r1780105 -
/tomcat/trunk/java/org/apache/tomcat/util/http/parser/Cookie.java
Author: markt
Date: Tue Jan 24 20:07:54 2017
New Revision: 1780105
URL: http://svn.apache.org/viewvc?rev=1780105&view=rev
Log:
Correct comments
Modified:
tomcat/trunk/java/org/apache/tomcat/util/http/parser/Cookie.java
Modified: tomcat/trunk/java/org/apache/tomcat/util/http/parser/Cookie.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/http/parser/Cookie.java?rev=1780105&r1=1780104&r2=1780105&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/http/parser/Cookie.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/http/parser/Cookie.java Tue Jan 24 20:07:54 2017
@@ -118,7 +118,7 @@ public class Cookie {
SkipResult skipResult = skipBytes(bb, VERSION_BYTES);
if (skipResult != SkipResult.FOUND) {
- // No need to reset position since skipConstant() will have done it
+ // No need to reset position since skipBytes() will have done it
parseCookieRfc6265(bb, serverCookies);
return;
}
@@ -127,7 +127,7 @@ public class Cookie {
skipResult = skipByte(bb, EQUALS_BYTE);
if (skipResult != SkipResult.FOUND) {
- // Need to reset position as skipConstant() will only have reset to
+ // Need to reset position as skipByte() will only have reset to
// position before it was called
bb.position(mark);
parseCookieRfc6265(bb, serverCookies);
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org