directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1697298 - /directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/FilterParser.java
Date Mon, 24 Aug 2015 02:31:13 GMT
Author: elecharny
Date: Mon Aug 24 02:31:13 2015
New Revision: 1697298

URL: http://svn.apache.org/r1697298
Log:
Fixed a Sonar warning

Modified:
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/FilterParser.java

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/FilterParser.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/FilterParser.java?rev=1697298&r1=1697297&r2=1697298&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/FilterParser.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/FilterParser.java
Mon Aug 24 02:31:13 2015
@@ -136,6 +136,7 @@ public final class FilterParser
         }
         else
         {
+            // No attribute
             boolean oidRequested = false;
 
             // First check if we have a ":dn"
@@ -165,7 +166,7 @@ public final class FilterParser
                     pos.start++;
 
                     // Get the assertionValue
-                    node.setValue( parseAssertionValue( schemaManager, attribute, filter,
pos ) );
+                    node.setValue( parseAssertionValue( schemaManager, null, filter, pos
) );
 
                     return node;
                 }
@@ -180,7 +181,7 @@ public final class FilterParser
                         pos.start += 2;
 
                         // Get the assertionValue
-                        node.setValue( parseAssertionValue( schemaManager, attribute, filter,
pos ) );
+                        node.setValue( parseAssertionValue( schemaManager, null, filter,
pos ) );
 
                         return node;
                     }



Mime
View raw message