mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Add the toString() method
This commit is contained in:
@@ -320,4 +320,15 @@ public class NewCookie extends Cookie {
|
||||
public Cookie toCookie() {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the cookie to a string suitable for use as the value of the
|
||||
* corresponding HTTP header.
|
||||
*
|
||||
* @return a stringified cookie.
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -114,4 +114,15 @@ public class Cookie implements Cloneable {
|
||||
public boolean isHttpOnly() {
|
||||
return isHttpOnly;
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the cookie to a string suitable for use as the value of the
|
||||
* corresponding HTTP header.
|
||||
*
|
||||
* @return a stringified cookie.
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user