From 54c2799f45256fef4a981fa2a6a7c97a9708ac8b 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.
---
opends/src/server/org/opends/server/admin/server/DNBuilder.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/opends/src/server/org/opends/server/admin/server/DNBuilder.java b/opends/src/server/org/opends/server/admin/server/DNBuilder.java
index 118ec71..35c62cd 100644
--- a/opends/src/server/org/opends/server/admin/server/DNBuilder.java
+++ b/opends/src/server/org/opends/server/admin/server/DNBuilder.java
@@ -60,7 +60,7 @@
* The managed object path.
* @return Returns a new DN representing the specified managed object path.
*/
- public static DN create(ManagedObjectPath path) {
+ public static DN create(ManagedObjectPath<?, ?> path) {
DNBuilder builder = new DNBuilder();
path.serialize(builder);
return builder.getInstance();
@@ -79,7 +79,7 @@
* @return Returns a new DN representing the specified managed
* object path and relation.
*/
- public static DN create(ManagedObjectPath path,
+ public static DN create(ManagedObjectPath<?, ?> path,
RelationDefinition<?, ?> relation) {
DNBuilder builder = new DNBuilder();
path.serialize(builder);
@@ -113,7 +113,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);
@@ -151,7 +151,7 @@
OptionalRelationDefinition<? super C, ? super S> r,
AbstractManagedObjectDefinition<C, S> d) {
// Add the RDN sequence representing the relation.
- appendManagedObjectPathElement((RelationDefinition) r);
+ appendManagedObjectPathElement((RelationDefinition<?, ?>) r);
}
@@ -164,7 +164,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