From a00b0bccc56198303e26ff5ed7e3560be391ceaa Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Tue, 15 Dec 2009 09:44:01 +0000
Subject: [PATCH] Remove cached AttributeDescription as it causes a cyclic class initialization dependency.
---
sdk/src/org/opends/sdk/schema/AttributeType.java | 21 ---------------------
1 files changed, 0 insertions(+), 21 deletions(-)
diff --git a/sdk/src/org/opends/sdk/schema/AttributeType.java b/sdk/src/org/opends/sdk/schema/AttributeType.java
index 2914a9b..6f5788a 100644
--- a/sdk/src/org/opends/sdk/schema/AttributeType.java
+++ b/sdk/src/org/opends/sdk/schema/AttributeType.java
@@ -37,7 +37,6 @@
import java.util.List;
import java.util.Map;
-import org.opends.sdk.AttributeDescription;
import org.opends.sdk.LocalizableMessage;
import com.sun.opends.sdk.util.StaticUtils;
@@ -128,10 +127,6 @@
// The syntax for this attribute type.
private Syntax syntax;
- // The attribute description representing this attribute type with no
- // options.
- private final AttributeDescription attributeDescription;
-
AttributeType(String oid, List<String> names, String description,
@@ -174,7 +169,6 @@
this.isObjectClassType = oid.equals("2.5.4.0");
this.normalizedName = StaticUtils.toLowerCase(getNameOrOID());
- this.attributeDescription = AttributeDescription.create(this);
}
@@ -206,21 +200,6 @@
this.isObjectClassType = oid.equals("2.5.4.0");
this.normalizedName = StaticUtils.toLowerCase(getNameOrOID());
- this.attributeDescription = AttributeDescription.create(this);
- }
-
-
-
- /**
- * Returns an attribute description comprising of this attribute type
- * and no options.
- *
- * @return An attribute description comprising of this attribute type
- * and no options.
- */
- public AttributeDescription asAttributeDescription()
- {
- return attributeDescription;
}
--
Gitblit v1.10.0