From fb90917ba9a7f1cfc12f2a0bcaad662c6b923083 Mon Sep 17 00:00:00 2001
From: Gaetan Boismal <gaetan.boismal@forgerock.com>
Date: Tue, 14 Apr 2015 07:35:39 +0000
Subject: [PATCH] OPENDJ-1929 Backport r11503 to server-legacy
---
opendj-server-legacy/src/main/java/org/opends/server/admin/client/spi/Driver.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/admin/client/spi/Driver.java b/opendj-server-legacy/src/main/java/org/opends/server/admin/client/spi/Driver.java
index 3d044b3..15d97b4 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/admin/client/spi/Driver.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/admin/client/spi/Driver.java
@@ -207,11 +207,11 @@
throws PropertyException {
// First check that the requested type of managed object
// corresponds to the path.
- AbstractManagedObjectDefinition<?, ?> supr = target
+ AbstractManagedObjectDefinition<?, ?> actualType = target
.getManagedObjectDefinition();
- if (!supr.isParentOf(d)) {
+ if (!d.isParentOf(actualType)) {
throw PropertyException.defaultBehaviorException(
- nextProperty, new DefinitionDecodingException(supr,
+ nextProperty, new DefinitionDecodingException(d,
Reason.WRONG_TYPE_INFORMATION));
}
--
Gitblit v1.10.0