From cc0fa41d9e024164cb7562c2047aa49ce7bc2af7 Mon Sep 17 00:00:00 2001
From: Violette Roche-Montane <violette.roche-montane@forgerock.com>
Date: Thu, 10 Apr 2014 11:32:37 +0000
Subject: [PATCH] Checkpoint for OPENDJ-1303 "opendj-cli" - OPENDJ-1343 Migrate dsconfig Rewritten DSConfig connection. dsconfig package. - Removed from dsconfig package the dependency on the SecureconnectionCliArgs and LDAPConsoleInteraction. - Removed unused class InternalManagementContextFactory
---
opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/LDAPSearch.java | 25 ++++++++++---------------
1 files changed, 10 insertions(+), 15 deletions(-)
diff --git a/opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/LDAPSearch.java b/opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/LDAPSearch.java
index 3b6ee7b..c1053de 100644
--- a/opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/LDAPSearch.java
+++ b/opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/LDAPSearch.java
@@ -95,9 +95,7 @@
private class LDAPSearchResultHandler implements SearchResultHandler {
private int entryCount = 0;
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public boolean handleEntry(final SearchResultEntry entry) {
entryCount++;
@@ -179,24 +177,18 @@
return true;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public boolean handleReference(final SearchResultReference reference) {
println(LocalizableMessage.raw(reference.toString()));
return true;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public void handleErrorResult(ErrorResultException error) {
// Ignore.
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public void handleResult(Result result) {
// Ignore.
}
@@ -222,9 +214,12 @@
// Nothing to do.
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
+ public boolean isInteractive() {
+ return false;
+ }
+
+ /** {@inheritDoc} */
@Override
public boolean isVerbose() {
return verbose.isPresent();
--
Gitblit v1.10.0