From eaa23f4b7af97c108ecffa40c86c32e723a90594 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Wed, 29 Aug 2007 14:40:34 +0000
Subject: [PATCH] Fix issue 1831: dsconfig interactive mode.
---
opends/src/server/org/opends/server/admin/PropertyDefinitionVisitor.java | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/opends/src/server/org/opends/server/admin/PropertyDefinitionVisitor.java b/opends/src/server/org/opends/server/admin/PropertyDefinitionVisitor.java
index b445037..63e7c0b 100644
--- a/opends/src/server/org/opends/server/admin/PropertyDefinitionVisitor.java
+++ b/opends/src/server/org/opends/server/admin/PropertyDefinitionVisitor.java
@@ -241,6 +241,8 @@
* {@link UnknownPropertyDefinitionException}. Sub-classes can
* override this method with their own default behavior.
*
+ * @param <T>
+ * The type of the underlying property.
* @param d
* The property definition to visit.
* @param p
@@ -250,7 +252,7 @@
* Visitor implementations may optionally throw this
* exception.
*/
- public R visitUnknown(PropertyDefinition<?> d, P p)
+ public <T> R visitUnknown(PropertyDefinition<T> d, P p)
throws UnknownPropertyDefinitionException {
throw new UnknownPropertyDefinitionException(d, p);
}
--
Gitblit v1.10.0