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

Jean-Noel Rouvignac
03.21.2014 dbadb04c112c447478cc635a4e6003b71608fa0d
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Friday, January 3, 2014 16:21 +0100
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Friday, January 3, 2014 16:21 +0100
commitdbadb04c112c447478cc635a4e6003b71608fa0d
tree 34999f172472e6e5122c9d47cd19ac2f245a2798 tree | zip | gz
parent 07a6c4c39513f36dfde7a4c0855c3cea5073b4ee view | diff
Code cleanup.
Used EnvironmentConfig as a static import to configure JE.

BackendImpl.java:
Used EnvironmentConfig as a static import to configure JE.
Called getReadOnlyRootContainer() to remove duplicated code.
Extracted methods closeTemporaryRootContainer() and getEnvConfigForImport() to remove duplicated code.
In exportLDIF(), removed many redundant catch blocks and replaced them with only one for IdentifiedException.
javadoc cleanup.

ConfigurableEnvironment.java, Importer.java, ReplicationDbEnv.java:
Used EnvironmentConfig as a static import to configure JE.
4 files modified
578 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/BackendImpl.java 431 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/ConfigurableEnvironment.java 82 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/importLDIF/Importer.java 37 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/changelog/je/ReplicationDbEnv.java 28 ●●●●● diff | view | raw | blame | history