From 1c73a49470fceb6c8b43cc7bb51f49e7e0ba7667 Mon Sep 17 00:00:00 2001
From: boli <boli@localhost>
Date: Fri, 17 Sep 2010 17:11:12 +0000
Subject: [PATCH] - Improved usage information for searchrate and modrate - maxIteration is now for the entire run  - Better error handling with the --argument option

---
 sdk/src/com/sun/opends/sdk/tools/Utils.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sdk/src/com/sun/opends/sdk/tools/Utils.java b/sdk/src/com/sun/opends/sdk/tools/Utils.java
index d8ba7cc..855e1fe 100644
--- a/sdk/src/com/sun/opends/sdk/tools/Utils.java
+++ b/sdk/src/com/sun/opends/sdk/tools/Utils.java
@@ -22,7 +22,7 @@
  * CDDL HEADER END
  *
  *
- *      Copyright 2006-2008 Sun Microsystems, Inc.
+ *      Copyright 2006-2010 Sun Microsystems, Inc.
  */
 package com.sun.opends.sdk.tools;
 
@@ -616,7 +616,7 @@
           // It's an end-of-line character, so append it as-is.
           buffer.append(line);
         }
-        else if (line.length() < width)
+        else if (line.length() <= width)
         {
           // The line fits in the specified width, so append it as-is.
           buffer.append(padding);

--
Gitblit v1.10.0