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