directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1705728 - /directory/apacheds/trunk/interceptors/operational/src/main/java/org/apache/directory/server/core/operational/OperationalAttributeInterceptor.java
Date Mon, 28 Sep 2015 17:31:41 GMT
Author: seelmann
Date: Mon Sep 28 17:31:41 2015
New Revision: 1705728

URL: http://svn.apache.org/viewvc?rev=1705728&view=rev
Log:
Fix checkstyle warnings

Modified:
    directory/apacheds/trunk/interceptors/operational/src/main/java/org/apache/directory/server/core/operational/OperationalAttributeInterceptor.java

Modified: directory/apacheds/trunk/interceptors/operational/src/main/java/org/apache/directory/server/core/operational/OperationalAttributeInterceptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/interceptors/operational/src/main/java/org/apache/directory/server/core/operational/OperationalAttributeInterceptor.java?rev=1705728&r1=1705727&r2=1705728&view=diff
==============================================================================
--- directory/apacheds/trunk/interceptors/operational/src/main/java/org/apache/directory/server/core/operational/OperationalAttributeInterceptor.java
(original)
+++ directory/apacheds/trunk/interceptors/operational/src/main/java/org/apache/directory/server/core/operational/OperationalAttributeInterceptor.java
Mon Sep 28 17:31:41 2015
@@ -133,9 +133,9 @@ public class OperationalAttributeInterce
             }
 
             // Add the SubschemaSubentry AttributeType if it's requested
-            if ( operation.isAllOperationalAttributes()|| 
-                operation.getReturningAttributes().contains( SchemaConstants.SUBSCHEMA_SUBENTRY_AT
) ||
-                operation.getReturningAttributes().contains( SchemaConstants.ALL_OPERATIONAL_ATTRIBUTES
) )
+            if ( operation.isAllOperationalAttributes()
+                || operation.getReturningAttributes().contains( SchemaConstants.SUBSCHEMA_SUBENTRY_AT
)
+                || operation.getReturningAttributes().contains( SchemaConstants.ALL_OPERATIONAL_ATTRIBUTES
) )
             {
                 AttributeType subschemaSubentryAt = schemaManager.getAttributeType( SchemaConstants.SUBSCHEMA_SUBENTRY_AT
);
                 entry.add( new DefaultAttribute( subschemaSubentryAt, 



Mime
View raw message