You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jakarta.apache.org by se...@apache.org on 2010/12/10 14:42:57 UTC

svn commit: r1044357 - in /jakarta/jmeter/trunk/src: components/org/apache/jmeter/visualizers/RequestViewRaw.java protocol/http/org/apache/jmeter/protocol/http/visualizers/RequestViewHTTP.java

Author: sebb
Date: Fri Dec 10 13:42:57 2010
New Revision: 1044357

URL: http://svn.apache.org/viewvc?rev=1044357&view=rev
Log:
Make constants final, and reduce visiblity as much as possible

Modified:
    jakarta/jmeter/trunk/src/components/org/apache/jmeter/visualizers/RequestViewRaw.java
    jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/visualizers/RequestViewHTTP.java

Modified: jakarta/jmeter/trunk/src/components/org/apache/jmeter/visualizers/RequestViewRaw.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/components/org/apache/jmeter/visualizers/RequestViewRaw.java?rev=1044357&r1=1044356&r2=1044357&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/components/org/apache/jmeter/visualizers/RequestViewRaw.java (original)
+++ jakarta/jmeter/trunk/src/components/org/apache/jmeter/visualizers/RequestViewRaw.java Fri Dec 10 13:42:57 2010
@@ -33,7 +33,8 @@ import org.apache.jorphan.gui.GuiUtils;
  */
 public class RequestViewRaw implements RequestView {
     
-    public static String KEY_LABEL = "view_results_table_request_tab_raw"; //$NON-NLS-1$
+    // Used by Request Panel
+    static final String KEY_LABEL = "view_results_table_request_tab_raw"; //$NON-NLS-1$
 
     private JTextArea sampleDataField;
 

Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/visualizers/RequestViewHTTP.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/visualizers/RequestViewHTTP.java?rev=1044357&r1=1044356&r2=1044357&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/visualizers/RequestViewHTTP.java (original)
+++ jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/visualizers/RequestViewHTTP.java Fri Dec 10 13:42:57 2010
@@ -55,11 +55,11 @@ public class RequestViewHTTP implements 
 
     private static final Logger log = LoggingManager.getLoggerForClass();
 
-    public static String KEY_LABEL = "view_results_table_request_tab_http"; //$NON-NLS-1$
+    private static final String KEY_LABEL = "view_results_table_request_tab_http"; //$NON-NLS-1$
     
-    private static String CHARSET_DECODE = "ISO-8859-1"; //$NON-NLS-1$
+    private static final String CHARSET_DECODE = "ISO-8859-1"; //$NON-NLS-1$
     
-    private static String PARAM_CONCATENATE = "&"; //$NON-NLS-1$
+    private static final String PARAM_CONCATENATE = "&"; //$NON-NLS-1$
 
     private JPanel paneParsed;
 



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org