Author: pmouawad
Date: Sat Jun 16 20:52:45 2012
New Revision: 1350997
URL: http://svn.apache.org/viewvc?rev=1350997&view=rev
Log:
getDefault super implementation is synchronized, so make this one also
synchronized
Modified:
jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/protocol/TrustAllSSLSocketFactory.java
Modified:
jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/protocol/TrustAllSSLSocketFactory.java
URL:
http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/protocol/TrustAllSSLSocketFactory.java?rev=1350997&r1=1350996&r2=1350997&view=diff
==============================================================================
---
jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/protocol/TrustAllSSLSocketFactory.java
(original)
+++
jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/protocol/TrustAllSSLSocketFactory.java
Sat Jun 16 20:52:45 2012
@@ -67,7 +67,7 @@ public class TrustAllSSLSocketFactory ex
* Factory method
* @return New TrustAllSSLSocketFactory
*/
- public static SocketFactory getDefault() {
+ public static synchronized SocketFactory getDefault() {
return new TrustAllSSLSocketFactory();
}