From 2b830a7f0d13ebbea86725fe27acf2d4b39aa0e1 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Mon, 03 Mar 2008 16:23:05 +0000
Subject: [PATCH] Fix for issue 2994 (Java exception when ctrl-D in intercative upgrade command)

---
 opends/src/server/org/opends/server/util/cli/ConsoleApplication.java |    6 ++++--
 1 files changed, 4 insertions(+), 2 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 698846e..49e8714 100644
--- a/opends/src/server/org/opends/server/util/cli/ConsoleApplication.java
+++ b/opends/src/server/org/opends/server/util/cli/ConsoleApplication.java
@@ -102,8 +102,10 @@
   // The output stream which this application should use.
   private final PrintStream out;
 
-  // The maximum number of times we try to confirm.
-  private final static int CONFIRMATION_MAX_TRIES = 5;
+  /**
+   *  The maximum number of times we try to confirm.
+   */
+  protected final static int CONFIRMATION_MAX_TRIES = 5;
 
   /**
    * Creates a new console application instance.

--
Gitblit v1.10.0