From e8461f5a27650a2bf1807063a6c3646232b5898e Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Thu, 09 Nov 2006 17:17:39 +0000
Subject: [PATCH] Move the logic that was just added in DirectoryServer.getCompactVerisonString into the DynamicConstants class as a COMPACT_VERSION_STRING constant. A FULL_VERSION_STRING constant has also been added.
---
opends/src/server/org/opends/server/core/DirectoryServer.java | 23 -----------------------
1 files changed, 0 insertions(+), 23 deletions(-)
diff --git a/opends/src/server/org/opends/server/core/DirectoryServer.java b/opends/src/server/org/opends/server/core/DirectoryServer.java
index c0ca1dc..caf5bb0 100644
--- a/opends/src/server/org/opends/server/core/DirectoryServer.java
+++ b/opends/src/server/org/opends/server/core/DirectoryServer.java
@@ -7118,29 +7118,6 @@
/**
- * Retrieves a compact version string for the Directory Server, which may be
- * used in elements like path names.
- *
- * @return A compact version string for the Directory Server.
- */
- public static String getCompactVersionString()
- {
- StringBuilder buffer = new StringBuilder();
- buffer.append(SHORT_NAME);
- buffer.append("-");
- buffer.append(MAJOR_VERSION);
- buffer.append(".");
- buffer.append(MINOR_VERSION);
- if ((VERSION_QUALIFIER != null) && (VERSION_QUALIFIER.length() > 0))
- {
- buffer.append(VERSION_QUALIFIER);
- }
- return buffer.toString();
- }
-
-
-
- /**
* Retrieves the full version string for the Directory Server.
*
* @return The full version string for the Directory Server.
--
Gitblit v1.10.0