From cd46a00352f34cb2c514cf4fb5ec3c68f04af3c0 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Thu, 13 Aug 2009 15:04:02 +0000
Subject: [PATCH] Use a println() instead of a print() to avoid having the next prompt just after the error message in the readInput method.
---
opends/src/server/org/opends/server/util/cli/ConsoleApplication.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opends/src/server/org/opends/server/util/cli/ConsoleApplication.java b/opends/src/server/org/opends/server/util/cli/ConsoleApplication.java
index ceb0491..554d1e4 100644
--- a/opends/src/server/org/opends/server/util/cli/ConsoleApplication.java
+++ b/opends/src/server/org/opends/server/util/cli/ConsoleApplication.java
@@ -508,7 +508,7 @@
if ("".equals(response)) {
if (defaultValue == null) {
- print(INFO_ERROR_EMPTY_RESPONSE.get());
+ println(INFO_ERROR_EMPTY_RESPONSE.get());
} else {
return defaultValue;
}
--
Gitblit v1.10.0