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

Gaetan Boismal
23.50.2015 a860ad2927b4d15e0ada761ddb5e1fa19c3335e2
refs
author Gaetan Boismal <gaetan.boismal@forgerock.com>
Monday, February 23, 2015 12:50 +0100
committer Gaetan Boismal <gaetan.boismal@forgerock.com>
Monday, February 23, 2015 12:50 +0100
commita860ad2927b4d15e0ada761ddb5e1fa19c3335e2
tree 5bf07b8cba3dbb1f0de8254485a1373b24110411 tree | zip | gz
parent a150bc326479cb6ad8655d6c32f0e65b63b6ebc8 view | diff
OPENDJ-1839 (checkpoint) code cleanup in InstallDS

* InstallDS.java
Rename ErrorReturnCode enum to InstallReturnCode.
Split very long methods in shorter ones.
Prevent code redundancy where it was possible.
Inline some local variables.
Add final keyword to all parameters and local variables.

* SecurityOptions.java
Add a method to create a certificate for a given type and use it in the old code.
2 files modified
1224 ■■■■ changed files
opendj-sdk/opendj-server-legacy/src/main/java/org/opends/quicksetup/SecurityOptions.java 216 ●●●●● diff | view | raw | blame | history
opendj-sdk/opendj-server-legacy/src/main/java/org/opends/server/tools/InstallDS.java 1008 ●●●● diff | view | raw | blame | history