directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1418879 - in /directory/shared/trunk/ldap: extras/codec-api/src/main/java/org/apache/directory/shared/ldap/extras/controls/ schema/data/src/main/java/org/apache/directory/shared/ldap/schemamanager/impl/
Date Sun, 09 Dec 2012 10:14:53 GMT
Author: elecharny
Date: Sun Dec  9 10:14:52 2012
New Revision: 1418879

URL: http://svn.apache.org/viewvc?rev=1418879&view=rev
Log:
Fixed some Sonar warnings

Modified:
    directory/shared/trunk/ldap/extras/codec-api/src/main/java/org/apache/directory/shared/ldap/extras/controls/SyncInfoValueImpl.java
    directory/shared/trunk/ldap/schema/data/src/main/java/org/apache/directory/shared/ldap/schemamanager/impl/DefaultSchemaManager.java

Modified: directory/shared/trunk/ldap/extras/codec-api/src/main/java/org/apache/directory/shared/ldap/extras/controls/SyncInfoValueImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/extras/codec-api/src/main/java/org/apache/directory/shared/ldap/extras/controls/SyncInfoValueImpl.java?rev=1418879&r1=1418878&r2=1418879&view=diff
==============================================================================
--- directory/shared/trunk/ldap/extras/codec-api/src/main/java/org/apache/directory/shared/ldap/extras/controls/SyncInfoValueImpl.java
(original)
+++ directory/shared/trunk/ldap/extras/codec-api/src/main/java/org/apache/directory/shared/ldap/extras/controls/SyncInfoValueImpl.java
Sun Dec  9 10:14:52 2012
@@ -256,7 +256,7 @@ public class SyncInfoValueImpl extends A
                     }
                 }
 
-                if ( found == false )
+                if ( !found )
                 {
                     return false;
                 }

Modified: directory/shared/trunk/ldap/schema/data/src/main/java/org/apache/directory/shared/ldap/schemamanager/impl/DefaultSchemaManager.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/schema/data/src/main/java/org/apache/directory/shared/ldap/schemamanager/impl/DefaultSchemaManager.java?rev=1418879&r1=1418878&r2=1418879&view=diff
==============================================================================
--- directory/shared/trunk/ldap/schema/data/src/main/java/org/apache/directory/shared/ldap/schemamanager/impl/DefaultSchemaManager.java
(original)
+++ directory/shared/trunk/ldap/schema/data/src/main/java/org/apache/directory/shared/ldap/schemamanager/impl/DefaultSchemaManager.java
Sun Dec  9 10:14:52 2012
@@ -733,7 +733,7 @@ public class DefaultSchemaManager implem
                     {
                         dependencySchema.enable();
 
-                        if ( load( registries, dependencySchema ) == false )
+                        if ( !load( registries, dependencySchema ) )
                         {
                             dependencySchema.disable();
 



Mime
View raw message