From e1ea3e0d8999105f144d2be98e0286928b8319ed Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Tue, 03 Apr 2007 18:52:11 +0000
Subject: [PATCH] Add initial support for a virtual attribute subsystem, and implement a few different kinds of virtual attributes.  This commit addresses the following issues:

---
 opends/src/server/org/opends/server/interop/LazyDN.java |   23 ++++++++++++++++-------
 1 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/opends/src/server/org/opends/server/interop/LazyDN.java b/opends/src/server/org/opends/server/interop/LazyDN.java
index 173a9a9..774eafc 100644
--- a/opends/src/server/org/opends/server/interop/LazyDN.java
+++ b/opends/src/server/org/opends/server/interop/LazyDN.java
@@ -29,11 +29,11 @@
 
 
 import org.opends.server.types.DN;
-import org.opends.server.types.RDN;
-
-import static org.opends.server.loggers.debug.DebugLogger.debugCaught;
-import static org.opends.server.loggers.debug.DebugLogger.debugEnabled;
 import org.opends.server.types.DebugLogLevel;
+import org.opends.server.types.RDN;
+import org.opends.server.types.SearchScope;
+
+import static org.opends.server.loggers.debug.DebugLogger.*;
 import static org.opends.server.util.StaticUtils.*;
 
 
@@ -57,9 +57,6 @@
 public class LazyDN
        extends DN
 {
-
-
-
   /**
    * The serial version identifier required to satisfy the compiler because this
    * class implements the {@code java.io.Serializable} interface.  This value
@@ -229,6 +226,18 @@
    * {@inheritDoc}
    */
   @Override()
+  public boolean matchesBaseAndScope(DN baseDN, SearchScope scope)
+         throws RuntimeException
+  {
+    return getDecodedDN().matchesBaseAndScope(baseDN, scope);
+  }
+
+
+
+  /**
+   * {@inheritDoc}
+   */
+  @Override()
   public boolean equals(Object o)
          throws RuntimeException
   {

--
Gitblit v1.10.0