From 7c08b180f23bbb2ec6736a15ad72dab48dfee8a6 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Thu, 04 Apr 2013 07:48:30 +0000
Subject: [PATCH] SchemaConstants.java: Added NO_ATTRIBUTES for OID "1.1".

---
 opendj-sdk/opends/src/server/org/opends/server/plugins/UniqueAttributePlugin.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/plugins/UniqueAttributePlugin.java b/opendj-sdk/opends/src/server/org/opends/server/plugins/UniqueAttributePlugin.java
index d70b5c8..80e770e 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/plugins/UniqueAttributePlugin.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/plugins/UniqueAttributePlugin.java
@@ -23,7 +23,7 @@
  *
  *
  *      Copyright 2008-2009 Sun Microsystems, Inc.
- *      Portions Copyright 2011 ForgeRock AS
+ *      Portions Copyright 2011-2013 ForgeRock AS
  */
 package org.opends.server.plugins;
 
@@ -53,6 +53,7 @@
 import org.opends.server.loggers.debug.DebugTracer;
 import org.opends.server.protocols.internal.InternalClientConnection;
 import org.opends.server.protocols.internal.InternalSearchOperation;
+import org.opends.server.schema.SchemaConstants;
 import org.opends.server.types.Attribute;
 import org.opends.server.types.AttributeType;
 import org.opends.server.types.AttributeValue;
@@ -115,7 +116,7 @@
        new LinkedHashSet<String>(1);
   static
   {
-    SEARCH_ATTRS.add("1.1");
+    SEARCH_ATTRS.add(SchemaConstants.NO_ATTRIBUTES);
   }
 
 

--
Gitblit v1.10.0