jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1227455 - in /jmeter/trunk/src: protocol/tcp/org/apache/jmeter/protocol/tcp/control/gui/TCPSamplerGui.java reports/org/apache/jmeter/report/writers/DefaultPageSummary.java
Date Thu, 05 Jan 2012 02:48:30 GMT
Author: sebb
Date: Thu Jan  5 02:48:29 2012
New Revision: 1227455

URL: http://svn.apache.org/viewvc?rev=1227455&view=rev
Log:
Field names should start with lower-case (Findbugs)

Modified:
    jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/control/gui/TCPSamplerGui.java
    jmeter/trunk/src/reports/org/apache/jmeter/report/writers/DefaultPageSummary.java

Modified: jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/control/gui/TCPSamplerGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/control/gui/TCPSamplerGui.java?rev=1227455&r1=1227454&r2=1227455&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/control/gui/TCPSamplerGui.java
(original)
+++ jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/control/gui/TCPSamplerGui.java
Thu Jan  5 02:48:29 2012
@@ -35,7 +35,7 @@ public class TCPSamplerGui extends Abstr
 
     private LoginConfigGui loginPanel;
 
-    private TCPConfigGui TcpDefaultPanel;
+    private TCPConfigGui tcpDefaultPanel;
 
     public TCPSamplerGui() {
         init();
@@ -45,7 +45,7 @@ public class TCPSamplerGui extends Abstr
     public void configure(TestElement element) {
         super.configure(element);
         loginPanel.configure(element);
-        TcpDefaultPanel.configure(element);
+        tcpDefaultPanel.configure(element);
     }
 
     public TestElement createTestElement() {
@@ -61,7 +61,7 @@ public class TCPSamplerGui extends Abstr
      */
     public void modifyTestElement(TestElement sampler) {
         sampler.clear();
-        sampler.addTestElement(TcpDefaultPanel.createTestElement());
+        sampler.addTestElement(tcpDefaultPanel.createTestElement());
         sampler.addTestElement(loginPanel.createTestElement());
         this.configureTestElement(sampler);
     }
@@ -73,7 +73,7 @@ public class TCPSamplerGui extends Abstr
     public void clearGui() {
         super.clearGui();
 
-        TcpDefaultPanel.clearGui();
+        tcpDefaultPanel.clearGui();
         loginPanel.clearGui();
     }
 
@@ -89,8 +89,8 @@ public class TCPSamplerGui extends Abstr
 
         VerticalPanel mainPanel = new VerticalPanel();
 
-        TcpDefaultPanel = new TCPConfigGui(false);
-        mainPanel.add(TcpDefaultPanel);
+        tcpDefaultPanel = new TCPConfigGui(false);
+        mainPanel.add(tcpDefaultPanel);
 
         loginPanel = new LoginConfigGui(false);
         loginPanel.setBorder(BorderFactory.createTitledBorder(JMeterUtils.getResString("login_config")));
// $NON-NLS-1$

Modified: jmeter/trunk/src/reports/org/apache/jmeter/report/writers/DefaultPageSummary.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/reports/org/apache/jmeter/report/writers/DefaultPageSummary.java?rev=1227455&r1=1227454&r2=1227455&view=diff
==============================================================================
--- jmeter/trunk/src/reports/org/apache/jmeter/report/writers/DefaultPageSummary.java (original)
+++ jmeter/trunk/src/reports/org/apache/jmeter/report/writers/DefaultPageSummary.java Thu
Jan  5 02:48:29 2012
@@ -24,9 +24,9 @@ public class DefaultPageSummary implemen
 
     private long START = 0;
     private long END = 0;
-    private String Title;
-    private String FileName;
-    private boolean Success;
+    private String title;
+    private String fileName;
+    private boolean success;
 
     /**
      *
@@ -50,14 +50,14 @@ public class DefaultPageSummary implemen
      * @see org.apache.jmeter.report.writers.PageSummary#getFileName()
      */
     public String getFileName() {
-        return FileName;
+        return fileName;
     }
 
     /* (non-Javadoc)
      * @see org.apache.jmeter.report.writers.PageSummary#getPageTitle()
      */
     public String getPageTitle() {
-        return Title;
+        return title;
     }
 
     public long getStartTimeStamp() {
@@ -68,7 +68,7 @@ public class DefaultPageSummary implemen
      * @see org.apache.jmeter.report.writers.PageSummary#isSuccessful()
      */
     public boolean isSuccessful() {
-        return Success;
+        return success;
     }
 
     /* (non-Javadoc)
@@ -89,21 +89,21 @@ public class DefaultPageSummary implemen
      * @see org.apache.jmeter.report.writers.PageSummary#setFileName(java.lang.String)
      */
     public void setFileName(String file) {
-        this.FileName = file;
+        this.fileName = file;
     }
 
     /* (non-Javadoc)
      * @see org.apache.jmeter.report.writers.PageSummary#setPageTitle(java.lang.String)
      */
     public void setPageTitle(String title) {
-        this.Title = title;
+        this.title = title;
     }
 
     /* (non-Javadoc)
      * @see org.apache.jmeter.report.writers.PageSummary#setSuccessful(boolean)
      */
     public void setSuccessful(boolean success) {
-        this.Success = success;
+        this.success = success;
     }
 
 }



Mime
View raw message