From cce6e8e14acb5ff9b678a3645e45ccef83e937d2 Mon Sep 17 00:00:00 2001
From: ludovicp <ludovicp@localhost>
Date: Mon, 31 May 2010 08:41:01 +0000
Subject: [PATCH] Fix help messages and Java doc
---
opendj-sdk/opends/src/server/org/opends/server/admin/client/cli/SecureConnectionCliParser.java | 4 ++--
opendj-sdk/opends/src/server/org/opends/server/tools/InstallDSArgumentParser.java | 4 ++--
opendj-sdk/opends/src/messages/messages/admin_tool.properties | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/opendj-sdk/opends/src/messages/messages/admin_tool.properties b/opendj-sdk/opends/src/messages/messages/admin_tool.properties
index 7431022..b988c33 100644
--- a/opendj-sdk/opends/src/messages/messages/admin_tool.properties
+++ b/opendj-sdk/opends/src/messages/messages/admin_tool.properties
@@ -520,7 +520,7 @@
INFO_DESCRIPTION_SUBCMD_INITIALIZE_ALL_REPLICATION=Initialize the contents of \
the data under the specified Base DN on all the servers whose contents are \
being replicated with the contents on the specified server. This operation \
- is required after enabling replication in order replication to work ('%s' \
+ is required after enabling replication for replication to work ('%s' \
applied to each server can also be used for this purpose)
INFO_DESCRIPTION_SUBCMD_PRE_EXTERNAL_INITIALIZATION=This subcommand must be \
called before initializing the contents of all the replicated servers using \
diff --git a/opendj-sdk/opends/src/server/org/opends/server/admin/client/cli/SecureConnectionCliParser.java b/opendj-sdk/opends/src/server/org/opends/server/admin/client/cli/SecureConnectionCliParser.java
index 9a80e34..ce65c3f 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/admin/client/cli/SecureConnectionCliParser.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/admin/client/cli/SecureConnectionCliParser.java
@@ -474,10 +474,10 @@
* must be called after parsing the arguments.
* @return the timeout to be used to connect in milliseconds. Returns
* {@code 0} if there is no timeout.
- * @throw {@code IllegalStateException} if the method is called before
+ * @throws IllegalStateException if the method is called before
* parsing the arguments.
*/
- public int getConnectTimeout()
+ public int getConnectTimeout()throws IllegalStateException
{
try
{
diff --git a/opendj-sdk/opends/src/server/org/opends/server/tools/InstallDSArgumentParser.java b/opendj-sdk/opends/src/server/org/opends/server/tools/InstallDSArgumentParser.java
index 900d30b..319d187 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/tools/InstallDSArgumentParser.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/tools/InstallDSArgumentParser.java
@@ -803,10 +803,10 @@
* must be called after parsing the arguments.
* @return the timeout to be used to connect in milliseconds. Returns
* {@code 0} if there is no timeout.
- * @throw {@code IllegalStateException} if the method is called before
+ * @throws IllegalStateException if the method is called before
* parsing the arguments.
*/
- public int getConnectTimeout()
+ public int getConnectTimeout() throws IllegalStateException
{
try
{
--
Gitblit v1.10.0