mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Gaetan Boismal
10.43.2015 45b282f622b204fd41d2a5eebaa77bb58f8c2811
refs
author Gaetan Boismal <gaetan.boismal@forgerock.com>
Friday, April 10, 2015 12:43 +0200
committer Gaetan Boismal <gaetan.boismal@forgerock.com>
Friday, April 10, 2015 12:43 +0200
commit45b282f622b204fd41d2a5eebaa77bb58f8c2811
tree 717f3e9ebf70cd798e3f8dd4a0b8f4c222ceb19e tree | zip | gz
parent 74b14f54b30ff3e782742e049d11889560679c90 view | diff
OPENDJ-1929 Code cleanup

* ConfigFromDirContext.java
** readConfiguration(InitialLdapContext)
*** Reformat
*** Add final keyword
*** Rename local variables to make the code more readable
*** Extracted methods
**** readSchemaIfNeeded(InitialLdapContext, List)
**** readConfig(InitialLdapContext, Set<ConnectionHandlerDescriptor>, Set<BackendDescriptor>, Set<DN>, List<OpenDsException>)
**** readAdminConnector(RootCfgClient, List<OpenDsException>)
**** readConnectionHandlers(Set<ConnectionHandlerDescriptor>, RootCfgClient, List<OpenDsException>)
**** readBackendConfiguration(Set<BackendDescriptor>, RootCfgClient, List<OpenDsException>)
**** refreshLocalDBBackendConfig(Set<IndexDescriptor>, Set<VLVIndexDescriptor>, BackendCfgClient backend, List<OpenDsException>)
**** readIfReplicationIsSecure(RootCfgreadSyncProviderIfExists(final RootCfgClient root)Client, List<OpenDsException>)
**** readSyncProviderIfExists(RootCfgClient)
**** readReplicationConfig(Set<ConnectionHandlerDescriptor>, Set<BackendDescriptor>, ReplicationSynchronizationProviderCfgClient, boolean, List<OpenDsException>)
**** readAlternateBindDNs(Set<DN>, RootCfgClient, List<OpenDsException>)
1 files modified
851 ■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/ConfigFromDirContext.java 851 ●●●● diff | view | raw | blame | history