Bug 2245 - Fixed 'Hide Utility Class Constructor'
[openflowjava.git] / simple-client / src / main / java / org / opendaylight / openflowjava / protocol / impl / clients / ClientSslContextFactory.java
index c1199c1e66527bca2a92d61d7f40d048edaaad25..a6d93abac30843d01f405c1e2f6946dd46219ac8 100644 (file)
@@ -22,7 +22,10 @@ import javax.net.ssl.TrustManagerFactory;
  */
 public final class ClientSslContextFactory {
 
-    
+    private ClientSslContextFactory() {
+        throw new UnsupportedOperationException("Utility class shouldn't be instantiated");
+    }
+
     // "TLS" - supports some version of TLS
     // Use "TLSv1", "TLSv1.1", "TLSv1.2" for specific TLS version
     private static final String PROTOCOL = "TLS";