From: Olivier Lamy Date: Tue, 25 Feb 2014 22:41:13 +0000 (+0000) Subject: format code X-Git-Tag: archiva-2.0.1~22 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=97a4b06e0b55e02c2baf342ff2928d86bafdf906;p=archiva.git format code git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1571848 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultRedbackRuntimeConfigurationAdmin.java b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultRedbackRuntimeConfigurationAdmin.java index 4308b27f8..a1f2462a6 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultRedbackRuntimeConfigurationAdmin.java +++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultRedbackRuntimeConfigurationAdmin.java @@ -131,13 +131,16 @@ public class DefaultRedbackRuntimeConfigurationAdmin ldapConfiguration.setBaseGroupsDn( userConfiguration.getConcatenatedList( UserConfigurationKeys.LDAP_GROUPS_BASEDN, - ldapConfiguration.getBaseDn() ) ); + ldapConfiguration.getBaseDn() ) + ); ldapConfiguration.setContextFactory( userConfiguration.getString( UserConfigurationKeys.LDAP_CONTEX_FACTORY, isSunContextFactoryAvailable() ? "com.sun.jndi.ldap.LdapCtxFactory" - : "" ) ); + : "" + ) + ); ldapConfiguration.setBindDn( userConfiguration.getConcatenatedList( UserConfigurationKeys.LDAP_BINDDN, null ) ); ldapConfiguration.setPassword( @@ -192,7 +195,8 @@ public class DefaultRedbackRuntimeConfigurationAdmin "redbackRuntimeConfiguration with empty userManagerImpls so force at least jdo implementation !" ); redbackRuntimeConfiguration.getUserManagerImpls().add( "jdo" ); updateRedbackRuntimeConfiguration( redbackRuntimeConfiguration ); - } else + } + else { log.info( "using userManagerImpls: {}", redbackRuntimeConfiguration.getUserManagerImpls() ); } @@ -204,9 +208,10 @@ public class DefaultRedbackRuntimeConfigurationAdmin "redbackRuntimeConfiguration with empty rbacManagerImpls so force at least cached implementation !" ); redbackRuntimeConfiguration.getRbacManagerImpls().add( "cached" ); updateRedbackRuntimeConfiguration( redbackRuntimeConfiguration ); - } else + } + else { - log.info( "using rbacManagerImpls: {}", redbackRuntimeConfiguration.getRbacManagerImpls()); + log.info( "using rbacManagerImpls: {}", redbackRuntimeConfiguration.getRbacManagerImpls() ); } boolean save = false;