From 1f6f4598cae318e881119af7a206c7c5899aff30 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 14 Mar 2014 08:25:59 +0000
Subject: [PATCH] OPENDJ-1368 (CR-3177) Remove AttributeValue
---
opendj3-server-dev/src/server/org/opends/server/schema/BinarySyntax.java | 25 +------------------------
1 files changed, 1 insertions(+), 24 deletions(-)
diff --git a/opendj3-server-dev/src/server/org/opends/server/schema/BinarySyntax.java b/opendj3-server-dev/src/server/org/opends/server/schema/BinarySyntax.java
index 889f0c0..fa57459 100644
--- a/opendj3-server-dev/src/server/org/opends/server/schema/BinarySyntax.java
+++ b/opendj3-server-dev/src/server/org/opends/server/schema/BinarySyntax.java
@@ -28,14 +28,11 @@
import org.forgerock.i18n.LocalizableMessageBuilder;
import org.forgerock.i18n.slf4j.LocalizedLogger;
+import org.forgerock.opendj.config.server.ConfigException;
import org.forgerock.opendj.ldap.ByteSequence;
-import org.forgerock.opendj.ldap.ByteString;
import org.opends.server.admin.std.server.AttributeSyntaxCfg;
import org.opends.server.api.*;
-import org.forgerock.opendj.config.server.ConfigException;
import org.opends.server.core.DirectoryServer;
-import org.opends.server.types.AttributeValue;
-import org.opends.server.types.DirectoryException;
import static org.opends.messages.SchemaMessages.*;
import static org.opends.server.schema.SchemaConstants.*;
@@ -61,26 +58,6 @@
private SubstringMatchingRule defaultSubstringMatchingRule;
-
- /**
- * A {@code byte[]} attribute value decoder for this syntax.
- */
- public static final AttributeValueDecoder<ByteString> DECODER =
- new AttributeValueDecoder<ByteString>()
- {
- /**
- * {@inheritDoc}
- */
- @Override
- public ByteString decode(AttributeValue value) throws DirectoryException {
- // Make sure that the value is valid.
- value.getNormalizedValue();
- return value.getValue();
- }
- };
-
-
-
/**
* Creates a new instance of this syntax. Note that the only thing that
* should be done here is to invoke the default constructor for the
--
Gitblit v1.10.0