directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1419495 - /directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/interceptor/context/FilteringOperationContext.java
Date Mon, 10 Dec 2012 14:56:45 GMT
Author: elecharny
Date: Mon Dec 10 14:56:44 2012
New Revision: 1419495

URL: http://svn.apache.org/viewvc?rev=1419495&view=rev
Log:
Fixed some NPE

Modified:
    directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/interceptor/context/FilteringOperationContext.java

Modified: directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/interceptor/context/FilteringOperationContext.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/interceptor/context/FilteringOperationContext.java?rev=1419495&r1=1419494&r2=1419495&view=diff
==============================================================================
--- directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/interceptor/context/FilteringOperationContext.java
(original)
+++ directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/interceptor/context/FilteringOperationContext.java
Mon Dec 10 14:56:44 2012
@@ -388,7 +388,7 @@ public abstract class FilteringOperation
             }
 
             // reset the noAttribute flag if it is already set cause that will be ignored
if any other AT is requested
-            if ( noAttributes && ( allUserAttributes || allOperationalAttributes
|| ( !returningAttributes.isEmpty() ) ) )
+            if ( isNoAttributes() && ( isAllUserAttributes() || isAllOperationalAttributes()
|| ( !returningAttributes.isEmpty() ) ) )
             {
                 noAttributes = false;
             }



Mime
View raw message