Return-Path: X-Original-To: apmail-directory-commits-archive@www.apache.org Delivered-To: apmail-directory-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5912918E02 for ; Mon, 24 Aug 2015 02:31:14 +0000 (UTC) Received: (qmail 9539 invoked by uid 500); 24 Aug 2015 02:31:14 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 9486 invoked by uid 500); 24 Aug 2015 02:31:14 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 9477 invoked by uid 99); 24 Aug 2015 02:31:14 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Aug 2015 02:31:14 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id 0AADDAC0250 for ; Mon, 24 Aug 2015 02:31:14 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@directory.apache.org From: elecharny@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150824023114.0AADDAC0250@hades.apache.org> 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; }