jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1732820 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/CookiePanel.java
Date Sun, 28 Feb 2016 23:25:32 GMT
Author: sebb
Date: Sun Feb 28 23:25:32 2016
New Revision: 1732820

URL: http://svn.apache.org/viewvc?rev=1732820&view=rev
Log:
Document the defaults

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/CookiePanel.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/CookiePanel.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/CookiePanel.java?rev=1732820&r1=1732819&r2=1732820&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/CookiePanel.java (original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/CookiePanel.java Sun
Feb 28 23:25:32 2016
@@ -84,8 +84,16 @@ public class CookiePanel extends Abstrac
     private static final String HANDLER_COMMAND = "Handler"; // $NON-NLS-1$
     //--
 
+    /**
+     * The default implementation that is used when creating a new CookieManager
+     */
     private static final String DEFAULT_IMPLEMENTATION = HC4CookieHandler.class.getName();
 
+    /**
+     * The default policy that is used when creating a new CookieManager
+     */
+    private static final String DEFAULT_POLICY = HC4CookieHandler.DEFAULT_POLICY_NAME;
+
     private JTable cookieTable;
 
     private PowerTableModel tableModel;
@@ -282,7 +290,7 @@ public class CookiePanel extends Abstrac
         clearEachIteration.setSelected(false);
         selectHandlerPanel.setSelectedItem(DEFAULT_IMPLEMENTATION
                 .substring(DEFAULT_IMPLEMENTATION.lastIndexOf('.') + 1));
-        policy.setText(HC4CookieHandler.DEFAULT_POLICY_NAME);
+        policy.setText(DEFAULT_POLICY);
         deleteButton.setEnabled(false);
         saveButton.setEnabled(false);
     }



Mime
View raw message