From e504ed0e4d9425f5c821687e8e5d0a7822c45730 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Thu, 23 Aug 2007 21:57:46 +0000
Subject: [PATCH] standardized the tools various option forms for suppressing output to -Q/--quiet
---
opends/src/quicksetup/org/opends/quicksetup/UserData.java | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/UserData.java b/opends/src/quicksetup/org/opends/quicksetup/UserData.java
index bb79638..3dcada9 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/UserData.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/UserData.java
@@ -81,7 +81,7 @@
private Map<ServerDescriptor, Integer> remoteWithNoReplicationPort;
- private boolean silent;
+ private boolean quiet;
private boolean interactive;
@@ -449,23 +449,23 @@
/**
* Sets whether or not this session should print messages to the
* console if in CLI mode.
- * @param silent where true indicates this sesssion should be silent
+ * @param quiet where true indicates this sesssion should be quiet
*/
- public void setSilent(boolean silent) {
- this.silent = silent;
+ public void setQuiet(boolean quiet) {
+ this.quiet = quiet;
}
/**
- * Indicates whether or not the user has requested silent mode.
+ * Indicates whether or not the user has requested quiet mode.
* <p>
- * Silent mode in the CLI means that nothing is written to output including
+ * Quiet mode in the CLI means that nothing is written to output including
* prompts for information and whether or not to continue an operation
* experiencing errors.
*
- * @return boolean where true indicates this session should be silent.
+ * @return boolean where true indicates this session should be quiet.
*/
- public boolean isSilent() {
- return this.silent;
+ public boolean isQuiet() {
+ return this.quiet;
}
/**
@@ -509,7 +509,7 @@
* @return boolean where true indicates this session should be interactive
*/
public boolean isInteractive() {
- return !this.silent && this.interactive;
+ return !this.quiet && this.interactive;
}
/**
--
Gitblit v1.10.0