From 01bf9b6a5d324d45355659581e9ebbd1280834fe Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 25 Apr 2016 14:41:26 +0000
Subject: [PATCH] Improvements suggested by UCDetector: remove dead code, add final keywords, change visibilities

---
 opendj-server-legacy/src/main/java/org/opends/guitools/uninstaller/Uninstaller.java |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/guitools/uninstaller/Uninstaller.java b/opendj-server-legacy/src/main/java/org/opends/guitools/uninstaller/Uninstaller.java
index 5174190..683391f 100644
--- a/opendj-server-legacy/src/main/java/org/opends/guitools/uninstaller/Uninstaller.java
+++ b/opendj-server-legacy/src/main/java/org/opends/guitools/uninstaller/Uninstaller.java
@@ -1383,7 +1383,7 @@
    *
    * @throws ApplicationException if something goes wrong.
    */
-  protected void disableWindowsService() throws ApplicationException {
+  private void disableWindowsService() throws ApplicationException {
     notifyListeners(getFormattedWithPoints(
             INFO_PROGRESS_DISABLING_WINDOWS_SERVICE.get()));
     int code = disableService(System.out, System.err);
@@ -1393,7 +1393,6 @@
 
     switch (code) {
       case SERVICE_DISABLE_SUCCESS:
-        break;
       case SERVICE_ALREADY_DISABLED:
         break;
       default:

--
Gitblit v1.10.0