From 0d841ef2ad67e2956302d4f2b4153cca3fd94d88 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)
---
opendj-sdk/opends/src/server/org/opends/server/util/cli/ConsoleApplication.java | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/util/cli/ConsoleApplication.java b/opendj-sdk/opends/src/server/org/opends/server/util/cli/ConsoleApplication.java
index 698846e..49e8714 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/util/cli/ConsoleApplication.java
+++ b/opendj-sdk/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