From 97a4b06e0b55e02c2baf342ff2928d86bafdf906 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 25 Feb 2014 22:41:13 +0000 Subject: [PATCH] format code git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1571848 13f79535-47bb-0310-9956-ffa450edef68 --- .../DefaultRedbackRuntimeConfigurationAdmin.java | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) 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; -- 2.39.5