From 958cc0238cfb7c6c3f0b27dae66f63d4c5cf94a6 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Thu, 26 Jul 2007 12:01:44 +0000
Subject: [PATCH] Partial fix for issue 1831 - dsconfig interactive mode.
---
opendj-sdk/opends/src/server/org/opends/server/admin/client/ldap/LDAPNameBuilder.java | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/admin/client/ldap/LDAPNameBuilder.java b/opendj-sdk/opends/src/server/org/opends/server/admin/client/ldap/LDAPNameBuilder.java
index 167b988..431a4e9 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/admin/client/ldap/LDAPNameBuilder.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/admin/client/ldap/LDAPNameBuilder.java
@@ -65,7 +65,8 @@
* @return Returns a new LDAP name representing the specified
* managed object path.
*/
- public static LdapName create(ManagedObjectPath path, LDAPProfile profile) {
+ public static LdapName create(ManagedObjectPath<?, ?> path,
+ LDAPProfile profile) {
LDAPNameBuilder builder = new LDAPNameBuilder(profile);
path.serialize(builder);
return builder.getInstance();
@@ -87,7 +88,7 @@
* @return Returns a new LDAP name representing the specified
* managed object path and instantiable relation.
*/
- public static LdapName create(ManagedObjectPath path,
+ public static LdapName create(ManagedObjectPath<?, ?> path,
InstantiableRelationDefinition<?, ?> relation, LDAPProfile profile) {
LDAPNameBuilder builder = new LDAPNameBuilder(profile);
path.serialize(builder);
@@ -125,7 +126,7 @@
InstantiableRelationDefinition<? super C, ? super S> r,
AbstractManagedObjectDefinition<C, S> d, String name) {
// Add the RDN sequence representing the relation.
- appendManagedObjectPathElement((RelationDefinition) r);
+ appendManagedObjectPathElement((RelationDefinition<?, ?>) r);
// Now add the single RDN representing the named instance.
String type = profile.getInstantiableRelationChildRDNType(r);
@@ -167,7 +168,7 @@
OptionalRelationDefinition<? super C, ? super S> r,
AbstractManagedObjectDefinition<C, S> d) {
// Add the RDN sequence representing the relation.
- appendManagedObjectPathElement((RelationDefinition) r);
+ appendManagedObjectPathElement((RelationDefinition<?, ?>) r);
}
@@ -180,7 +181,7 @@
SingletonRelationDefinition<? super C, ? super S> r,
AbstractManagedObjectDefinition<C, S> d) {
// Add the RDN sequence representing the relation.
- appendManagedObjectPathElement((RelationDefinition) r);
+ appendManagedObjectPathElement((RelationDefinition<?, ?>) r);
}
--
Gitblit v1.10.0