From 81efca04ef92a7eec9c0c825cb25a5a11e532ebb Mon Sep 17 00:00:00 2001
From: vharseko <vharseko@openam.org.ru>
Date: Mon, 08 Oct 2018 09:11:38 +0000
Subject: [PATCH] Revert "allow getInstallPath from classes"

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

diff --git a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java
index e9de90d..68fb0d6 100644
--- a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java
+++ b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java
@@ -1839,14 +1839,13 @@
     {
       final String normPath = classPath.replace(File.separatorChar, '/');
       if (normPath.endsWith(OPENDJ_BOOTSTRAP_CLIENT_JAR_RELATIVE_PATH)
-          || normPath.endsWith(OPENDJ_BOOTSTRAP_JAR_RELATIVE_PATH) 
-          || normPath.endsWith("classes"))
+          || normPath.endsWith(OPENDJ_BOOTSTRAP_JAR_RELATIVE_PATH))
       {
         return classPath;
       }
     }
     return null;
-  } 
+  }
 
   /**
    * Returns whether the server located in the provided path is running.

--
Gitblit v1.10.0