]> source.dussan.org Git - archiva.git/commitdiff
format code
authorOlivier Lamy <olamy@apache.org>
Tue, 25 Feb 2014 22:41:13 +0000 (22:41 +0000)
committerOlivier Lamy <olamy@apache.org>
Tue, 25 Feb 2014 22:41:13 +0000 (22:41 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1571848 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultRedbackRuntimeConfigurationAdmin.java

index 4308b27f88b083134b845b57ba841dbfad77e4d2..a1f2462a6692896fad42990a3d216b89657db3bf 100644 (file)
@@ -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;