SSLImplementation.getName() is not used so remove it. Further simplify the factory part of SSLImplementation Remove OpenSSLImplementation.IMPLEMENTATION_NAME. Since it is the class name, use the class name.