directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r643413 - in /directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/filter: ApproximateNode.java EqualityNode.java
Date Tue, 01 Apr 2008 14:15:09 GMT
Author: elecharny
Date: Tue Apr  1 07:14:53 2008
New Revision: 643413

URL: http://svn.apache.org/viewvc?rev=643413&view=rev
Log:
Fixed issue DIRSERVER-1134 buy modifying the inheritence hirarchy : ApproximateNode now inherit
from EqualityNode

Modified:
    directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ApproximateNode.java
    directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/filter/EqualityNode.java

Modified: directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ApproximateNode.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ApproximateNode.java?rev=643413&r1=643412&r2=643413&view=diff
==============================================================================
--- directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ApproximateNode.java
(original)
+++ directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ApproximateNode.java
Tue Apr  1 07:14:53 2008
@@ -26,7 +26,7 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Revision: 519266 $
  */
-public class ApproximateNode extends SimpleNode
+public class ApproximateNode extends EqualityNode
 {
     /**
      * Creates a new ApproximateNode object.

Modified: directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/filter/EqualityNode.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/filter/EqualityNode.java?rev=643413&r1=643412&r2=643413&view=diff
==============================================================================
--- directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/filter/EqualityNode.java
(original)
+++ directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/filter/EqualityNode.java
Tue Apr  1 07:14:53 2008
@@ -53,6 +53,30 @@
 
 
     /**
+     * Creates a new Equality object.
+     * 
+     * @param attribute the attribute name
+     * @param value the value to test for
+     */
+    protected EqualityNode( String attribute, byte[] value, AssertionType assertionType )
+    {
+        super( attribute, value, assertionType );
+    }
+
+
+    /**
+     * Creates a new Equality object.
+     * 
+     * @param attribute the attribute name
+     * @param value the value to test for
+     */
+    protected EqualityNode( String attribute, String value, AssertionType assertionType )
+    {
+        super( attribute, value, assertionType );
+    }
+
+
+    /**
      * @see Object#hashCode()
      */
     public int hashCode()



Mime
View raw message