From 5a4e1fa8074d515e8567e994b859eecf6745b640 Mon Sep 17 00:00:00 2001 From: markt Date: Fri, 9 Jan 2009 18:28:00 +0000 Subject: [PATCH] Correct field names git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@733107 13f79535-47bb-0310-9956-ffa450edef68 --- java/javax/servlet/SessionCookieConfig.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/java/javax/servlet/SessionCookieConfig.java b/java/javax/servlet/SessionCookieConfig.java index 01c3c1f37..0b06deb44 100644 --- a/java/javax/servlet/SessionCookieConfig.java +++ b/java/javax/servlet/SessionCookieConfig.java @@ -26,16 +26,16 @@ public class SessionCookieConfig { private String domain; private String path; private String comment; - private boolean isHttpOnly; - private boolean isSecure; + private boolean httpOnly; + private boolean secure; public SessionCookieConfig(String domain, String path, String comment, boolean isHttpOnly, boolean isSecure) { this.domain = domain; this.path = path; this.comment = comment; - this.isHttpOnly = isHttpOnly; - this.isSecure = isSecure; + this.httpOnly = isHttpOnly; + this.secure = isSecure; } public java.lang.String getDomain() { @@ -51,10 +51,10 @@ public class SessionCookieConfig { } public boolean isHttpOnly() { - return isHttpOnly; + return httpOnly; } public boolean isSecure() { - return isSecure; + return secure; } } -- 2.11.0