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

Jean-Noël Rouvignac
10.44.2016 e9cc1050a57dcb2f188e85f9e5e7d5d1bb7f0156
refs
author Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Friday, June 10, 2016 14:44 +0200
committer Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Friday, June 10, 2016 14:44 +0200
commite9cc1050a57dcb2f188e85f9e5e7d5d1bb7f0156
tree e2d3cf62065649a15ecb6395e4053df2f08dfc6a tree | zip | gz
parent f98cf29f4e7e256e6429cdc8c8ef2833e2dd2b0c view | diff
Code cleanup in uninstall / install

Uninstaller.java:
Removed runStarted field, replaced by UninstallProgressStep.STARTED.
Extracted methods putSummary(), removeRemoteServerReferences0(),
stopServer0(), disableWindowsService0(), deleteExternalDatabaseFiles0(),
deleteExternalLogFiles0(), deleteInstallationFiles0(),
handle(ApplicationException), notifyListenersBeforeStep(),
isReferenced().
Used static imports for UninstallProgressStep.

Application.java:
In getRemoteConnection(), removed parameters which where always the same
accross client calls and pushed them inside the method's body.
4 files modified
655 ■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/guitools/uninstaller/UninstallProgressStep.java 2 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/uninstaller/Uninstaller.java 597 ●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/quicksetup/Application.java 35 ●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/Installer.java 21 ●●●●● diff | view | raw | blame | history