mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-01 19:15:59 +01:00
Format
This commit is contained in:
@@ -126,7 +126,7 @@ object LDAPUtil {
|
||||
|
||||
private def getSslProvider(): Provider = {
|
||||
val cachedInstance = provider.get()
|
||||
if(cachedInstance == null){
|
||||
if (cachedInstance == null) {
|
||||
val newInstance = Class.forName("com.sun.net.ssl.internal.ssl.Provider").newInstance().asInstanceOf[Provider]
|
||||
provider.compareAndSet(null, newInstance)
|
||||
newInstance
|
||||
|
||||
Reference in New Issue
Block a user