From fefff7ca06c138c234c440b4a480842900389f68 Mon Sep 17 00:00:00 2001
From: coulbeck <coulbeck@localhost>
Date: Mon, 16 Oct 2006 15:31:51 +0000
Subject: [PATCH] Consistent version number output.  Reviewed by neil_a_wilson.

---
 opends/src/server/org/opends/server/core/DirectoryServer.java |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/core/DirectoryServer.java b/opends/src/server/org/opends/server/core/DirectoryServer.java
index e2c0e13..dc3e681 100644
--- a/opends/src/server/org/opends/server/core/DirectoryServer.java
+++ b/opends/src/server/org/opends/server/core/DirectoryServer.java
@@ -7121,7 +7121,15 @@
     buffer.append(MAJOR_VERSION);
     buffer.append(".");
     buffer.append(MINOR_VERSION);
-    buffer.append(VERSION_QUALIFIER);
+    if ((VERSION_QUALIFIER == null) || (VERSION_QUALIFIER.length() == 0))
+    {
+      buffer.append(".");
+      buffer.append(POINT_VERSION);
+    }
+    else
+    {
+      buffer.append(VERSION_QUALIFIER);
+    }
     return buffer.toString();
   }
 

--
Gitblit v1.10.0