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

Gaetan Boismal
23.50.2015 d45619eae8cf58ab3343158b1686bc068dc3818d
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
commitd45619eae8cf58ab3343158b1686bc068dc3818d
tree 58f775b2d8d05b264af24d41a96f536710258166 tree | zip | gz
parent 4952f72cc0d3e9b623843eb222ac4f30330624b0 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-server-legacy/src/main/java/org/opends/quicksetup/SecurityOptions.java 216 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/tools/InstallDS.java 1008 ●●●● diff | view | raw | blame | history