jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1215338 - /jmeter/trunk/src/core/org/apache/jmeter/samplers/StandardSampleSender.java
Date Fri, 16 Dec 2011 23:24:25 GMT
Author: sebb
Date: Fri Dec 16 23:24:24 2011
New Revision: 1215338

URL: http://svn.apache.org/viewvc?rev=1215338&view=rev
Log:
Make listener final

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/samplers/StandardSampleSender.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/samplers/StandardSampleSender.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/samplers/StandardSampleSender.java?rev=1215338&r1=1215337&r2=1215338&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/samplers/StandardSampleSender.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/samplers/StandardSampleSender.java Fri Dec 16
23:24:24 2011
@@ -35,13 +35,14 @@ public class StandardSampleSender extend
 
     private static final Logger log = LoggingManager.getLoggerForClass();
 
-    private RemoteSampleListener listener;
+    private final RemoteSampleListener listener;
 
     /**
      * @deprecated only for use by test code
      */
     @Deprecated
     public StandardSampleSender(){
+        this.listener = null;
         log.warn("Constructor only intended for use in testing"); // $NON-NLS-1$
     }
 



Mime
View raw message