From: <asa...@us...> - 2012-11-06 08:20:06
|
Revision: 7695 http://sourceforge.net/p/htmlunit/code/7695 Author: asashour Date: 2012-11-06 08:19:59 +0000 (Tue, 06 Nov 2012) Log Message: ----------- Cookie: remove deprecated (String name, String value) constructor. Modified Paths: -------------- trunk/htmlunit/src/changes/changes.xml trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/util/Cookie.java Modified: trunk/htmlunit/src/changes/changes.xml =================================================================== --- trunk/htmlunit/src/changes/changes.xml 2012-11-06 07:27:05 UTC (rev 7694) +++ trunk/htmlunit/src/changes/changes.xml 2012-11-06 08:19:59 UTC (rev 7695) @@ -8,6 +8,9 @@ <body> <release version="2.12" date="???" description="Bugfixes"> + <action type="remove" dev="asashour"> + Cookie: remove deprecated (String name, String value) constructor. + </action> </release> <release version="2.11" date="Nov 6, 2012" description="Bugfixes, Java 6, HtmlPage.getElementById(), .type() special keys, initial WebSocket support, initial SVG support, primitive Geolocation support, SOCKS proxy for https, CORS"> <action type="update" dev="mguillem"> Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/util/Cookie.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/util/Cookie.java 2012-11-06 07:27:05 UTC (rev 7694) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/util/Cookie.java 2012-11-06 08:19:59 UTC (rev 7695) @@ -57,18 +57,6 @@ private final boolean httponly_; /** - * Creates a new cookie with the specified name and value. The new cookie applies to all - * domains and all paths, never expires and is not secure. - * @param name the cookie name - * @param value the cookie name - * @deprecated as of 2.10, specify the domain - */ - @Deprecated - public Cookie(final String name, final String value) { - this(null, name, value); - } - - /** * Creates a new cookie with the specified name and value which applies to the specified domain. * The new cookie applies to all paths, never expires and is not secure. * @param domain the domain to which this cookie applies |