You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by se...@apache.org on 2016/03/01 10:54:24 UTC

svn commit: r1733020 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CookieManager.java

Author: sebb
Date: Tue Mar  1 09:54:24 2016
New Revision: 1733020

URL: http://svn.apache.org/viewvc?rev=1733020&view=rev
Log:
Document constant meaning

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CookieManager.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CookieManager.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CookieManager.java?rev=1733020&r1=1733019&r2=1733020&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CookieManager.java (original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CookieManager.java Tue Mar  1 09:54:24 2016
@@ -102,11 +102,28 @@ public class CookieManager extends Confi
 
     private transient CollectionProperty initialCookies;
 
-    // MUST NOT BE CHANGED
-    @SuppressWarnings("deprecation") // cannot be changed
+    /**
+     * Defines the policy that is assumed when the JMX file does not contain an entry for it
+     * MUST NOT BE CHANGED otherwise JMX files will not be correctly interpreted
+     * <p>
+     * The default policy for new CookieManager elements is defined by 
+     * {@link org.apache.jmeter.protocol.http.gui.CookiePanel#DEFAULT_POLICY CookiePanel#DEFAULT_POLICY}
+     *
+     * @deprecated not intended for use outside this class (should have been created private)
+     */
+    @Deprecated
     public static final String DEFAULT_POLICY = CookieSpecs.BROWSER_COMPATIBILITY;
     
-    // MUST NOT BE CHANGED
+    /**
+     * Defines the implementation that is assumed when the JMX file does not contain an entry for it
+     * MUST NOT BE CHANGED otherwise JMX files will not be correctly interpreted
+     * <p>
+     * The default implementation for new CookieManager elements is defined by 
+     * {@link org.apache.jmeter.protocol.http.gui.CookiePanel#DEFAULT_IMPLEMENTATION CookiePanel#DEFAULT_IMPLEMENTATION}
+     *
+     * @deprecated not intended for use outside this class (should have been created private)
+     */
+    @Deprecated
     public static final String DEFAULT_IMPLEMENTATION = HC3CookieHandler.class.getName();
 
     public CookieManager() {