From 6f163823cb9ca5e313699c657bb23dc7b39b586f Mon Sep 17 00:00:00 2001
From: Violette Roche-Montane <violette.roche-montane@forgerock.com>
Date: Wed, 27 Nov 2013 07:56:03 +0000
Subject: [PATCH] CR-2635 OPENDJ-1196 updateSchemaFile succeeds if it can't find schema in the templates
---
opends/src/server/org/opends/server/util/cli/ConsoleApplication.java | 13 +++++--------
1 files changed, 5 insertions(+), 8 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 e09a564..d26d78e 100644
--- a/opends/src/server/org/opends/server/util/cli/ConsoleApplication.java
+++ b/opends/src/server/org/opends/server/util/cli/ConsoleApplication.java
@@ -126,10 +126,6 @@
*/
ERROR,
/**
- * Defines a breakline.
- */
- BREAKLINE,
- /**
* Defines a warning.
*/
WARNING
@@ -448,8 +444,6 @@
case ERROR:
out.println();
out.println(wrapText("** " + msg, MAX_LINE_WIDTH, indent));
- break;
- case BREAKLINE:
out.println();
break;
case WARNING:
@@ -537,9 +531,12 @@
}
}
bar.append(". ");
- if(progress >= 0) {
+ if (progress >= 0)
+ {
bar.append(progress).append("% ");
- } else {
+ }
+ else
+ {
bar.append("FAIL");
}
final int endBuilder = linePos + bar.length();
--
Gitblit v1.10.0