Author: sebb
Date: Fri Apr 20 10:28:01 2007
New Revision: 530862

URL: http://svn.apache.org/viewvc?view=rev&rev=530862
Log:
use the getRegisteredCookieSpecs() method now it is available

Modified:
    
jakarta/jmeter/branches/rel-2-2/src/protocol/http/org/apache/jmeter/protocol/http/gui/CookiePanel.java

Modified: 
jakarta/jmeter/branches/rel-2-2/src/protocol/http/org/apache/jmeter/protocol/http/gui/CookiePanel.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/branches/rel-2-2/src/protocol/http/org/apache/jmeter/protocol/http/gui/CookiePanel.java?view=diff&rev=530862&r1=530861&r2=530862
==============================================================================
--- 
jakarta/jmeter/branches/rel-2-2/src/protocol/http/org/apache/jmeter/protocol/http/gui/CookiePanel.java
 (original)
+++ 
jakarta/jmeter/branches/rel-2-2/src/protocol/http/org/apache/jmeter/protocol/http/gui/CookiePanel.java
 Fri Apr 20 10:28:01 2007
@@ -103,15 +103,8 @@
      * List of cookie policies.
      * 
      * These are used both for the display, and for setting the policy
-     * TODO: use the getRegisteredCookieSpecs() method when it is implemented
     */
-    private final String[] policies = {
-            CookiePolicy.BROWSER_COMPATIBILITY,
-            CookiePolicy.NETSCAPE,
-            CookiePolicy.RFC_2109,
-            CookiePolicy.DEFAULT,
-            CookiePolicy.IGNORE_COOKIES,
-    };
+    private final String[] policies = CookiePolicy.getRegisteredCookieSpecs();
 
     private JLabeledChoice policy;
     



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to