From c4b20d52fa50404b6b8d0a910a41b3fc47cfb90e Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Tue, 24 Apr 2007 08:21:24 +0000
Subject: [PATCH] This change (no associated issue no.) addresses some counter-intuitive behavior discovered when specifying some duration based properties:

---
 opends/src/server/org/opends/server/backends/jeb/ConfigurableEnvironment.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/backends/jeb/ConfigurableEnvironment.java b/opends/src/server/org/opends/server/backends/jeb/ConfigurableEnvironment.java
index 4e49be3..aa26c19 100644
--- a/opends/src/server/org/opends/server/backends/jeb/ConfigurableEnvironment.java
+++ b/opends/src/server/org/opends/server/backends/jeb/ConfigurableEnvironment.java
@@ -276,7 +276,7 @@
         // JE durations are in microseconds so we must convert.
         DurationPropertyDefinition durationPropDefn =
              (DurationPropertyDefinition)propDefn;
-        value = 1000*durationPropDefn.getBaseUnit().getDuration(value);
+        value = 1000*durationPropDefn.getBaseUnit().toMilliSeconds(value);
 
         return String.valueOf(value);
       }

--
Gitblit v1.10.0