jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1204392 - in /jmeter/trunk/src/components/org/apache/jmeter/visualizers: StatGraphVisualizer.java StatVisualizer.java SummaryReport.java
Date Mon, 21 Nov 2011 08:27:41 GMT
Author: pmouawad
Date: Mon Nov 21 08:27:40 2011
New Revision: 1204392

URL: http://svn.apache.org/viewvc?rev=1204392&view=rev
Log:
Add final to lock objects

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatVisualizer.java
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/SummaryReport.java

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java?rev=1204392&r1=1204391&r2=1204392&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java Mon
Nov 21 08:27:40 2011
@@ -107,7 +107,7 @@ public class StatGraphVisualizer extends
     /**
      * Lock used to protect tableRows update + model update
      */
-    private transient Object lock = new Object();
+    private final transient Object lock = new Object();
     
     private final Map<String, SamplingStatCalculator> tableRows =
         new ConcurrentHashMap<String, SamplingStatCalculator>();

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatVisualizer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatVisualizer.java?rev=1204392&r1=1204391&r2=1204392&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatVisualizer.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatVisualizer.java Mon Nov
21 08:27:40 2011
@@ -108,7 +108,7 @@ public class StatVisualizer extends Abst
     /**
      * Lock used to protect tableRows update + model update
      */
-    private transient Object lock = new Object();
+    private final transient Object lock = new Object();
 
     private final Map<String, SamplingStatCalculator> tableRows =
         new ConcurrentHashMap<String, SamplingStatCalculator>();

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/SummaryReport.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/SummaryReport.java?rev=1204392&r1=1204391&r2=1204392&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/SummaryReport.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/SummaryReport.java Mon Nov 21
08:27:40 2011
@@ -105,7 +105,7 @@ public class SummaryReport extends Abstr
     /**
      * Lock used to protect tableRows update + model update
      */
-    private transient Object lock = new Object();
+    private final transient Object lock = new Object();
 
     private final Map<String, Calculator> tableRows =
         new ConcurrentHashMap<String, Calculator>();



Mime
View raw message