From a9dddc41f04c566bcdd673ee1fc2c061548c4953 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Thu, 27 Sep 2007 15:00:36 +0000
Subject: [PATCH] Rename ContainsValueCondition to ContainsCondition to align it with the factory method name in Conditions and the element name in the XML schema.
---
opends/src/server/org/opends/server/tools/dsconfig/SetPropSubCommandHandler.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opends/src/server/org/opends/server/tools/dsconfig/SetPropSubCommandHandler.java b/opends/src/server/org/opends/server/tools/dsconfig/SetPropSubCommandHandler.java
index 216a4fb..f57a43f 100644
--- a/opends/src/server/org/opends/server/tools/dsconfig/SetPropSubCommandHandler.java
+++ b/opends/src/server/org/opends/server/tools/dsconfig/SetPropSubCommandHandler.java
@@ -63,7 +63,7 @@
import org.opends.server.admin.client.MissingMandatoryPropertiesException;
import org.opends.server.admin.client.OperationRejectedException;
import org.opends.server.admin.condition.Condition;
-import org.opends.server.admin.condition.ContainsValueCondition;
+import org.opends.server.admin.condition.ContainsCondition;
import org.opends.server.protocols.ldap.LDAPResultCode;
import org.opends.server.tools.ClientException;
import org.opends.server.util.args.ArgumentException;
@@ -381,9 +381,9 @@
while (!condition.evaluate(context, ref)) {
boolean isBadReference = true;
- if (condition instanceof ContainsValueCondition) {
+ if (condition instanceof ContainsCondition) {
// Attempt to automatically enable the managed object.
- ContainsValueCondition cvc = (ContainsValueCondition) condition;
+ ContainsCondition cvc = (ContainsCondition) condition;
app.println();
if (app.confirmAction(
INFO_EDITOR_PROMPT_ENABLED_REFERENCED_COMPONENT.get(rufn,
--
Gitblit v1.10.0