jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1299214 - /jmeter/trunk/src/core/org/apache/jmeter/util/HttpSSLProtocolSocketFactory.java
Date Sat, 10 Mar 2012 14:55:59 GMT
Author: pmouawad
Date: Sat Mar 10 14:55:59 2012
New Revision: 1299214

URL: http://svn.apache.org/viewvc?rev=1299214&view=rev
Log:
Reuse constructor

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/util/HttpSSLProtocolSocketFactory.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/util/HttpSSLProtocolSocketFactory.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/util/HttpSSLProtocolSocketFactory.java?rev=1299214&r1=1299213&r2=1299214&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/util/HttpSSLProtocolSocketFactory.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/util/HttpSSLProtocolSocketFactory.java Sat Mar
10 14:55:59 2012
@@ -52,9 +52,7 @@ public class HttpSSLProtocolSocketFactor
     private final int CPS; // Characters per second to emulate
 
     public HttpSSLProtocolSocketFactory(JsseSSLManager sslManager) {
-        super();
-        this.sslManager = sslManager;
-        CPS=0;
+        this(sslManager, 0);
     }
 
     public HttpSSLProtocolSocketFactory(JsseSSLManager sslManager, int cps) {



Mime
View raw message