directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1774771 - in /directory/shared/trunk/ldap: extras/codec/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv_impl/ model/src/main/java/org/apache/directory/api/ldap/model/name/ model/src/main/java/org/apache/directory/api/ldap/m...
Date Sat, 17 Dec 2016 15:08:07 GMT
Author: elecharny
Date: Sat Dec 17 15:08:07 2016
New Revision: 1774771

URL: http://svn.apache.org/viewvc?rev=1774771&view=rev
Log:
Fixed sonarlint warnings

Modified:
    directory/shared/trunk/ldap/extras/codec/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv_impl/VirtualListViewResponseContainer.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/name/Ava.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/OidRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/Registries.java

Modified: directory/shared/trunk/ldap/extras/codec/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv_impl/VirtualListViewResponseContainer.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/extras/codec/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv_impl/VirtualListViewResponseContainer.java?rev=1774771&r1=1774770&r2=1774771&view=diff
==============================================================================
--- directory/shared/trunk/ldap/extras/codec/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv_impl/VirtualListViewResponseContainer.java
(original)
+++ directory/shared/trunk/ldap/extras/codec/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv_impl/VirtualListViewResponseContainer.java
Sat Dec 17 15:08:07 2016
@@ -66,7 +66,7 @@ public class VirtualListViewResponseCont
 
 
     /**
-     * @return The decorared VLV control
+     * @return The decorated VLV control
      */
     public VirtualListViewResponseDecorator getDecorator()
     {

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/name/Ava.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/name/Ava.java?rev=1774771&r1=1774770&r2=1774771&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/name/Ava.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/name/Ava.java
Sat Dec 17 15:08:07 2016
@@ -1136,7 +1136,7 @@ public class Ava implements Externalizab
 
     private int compareValues( Ava that )
     {
-        int comp = 0;
+        int comp;
 
         if ( value.getNormValue() instanceof String )
         {
@@ -1181,7 +1181,7 @@ public class Ava implements Externalizab
             return 1;
         }
 
-        int comp = 0;
+        int comp;
 
         if ( schemaManager == null )
         {

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/OidRegistry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/OidRegistry.java?rev=1774771&r1=1774770&r2=1774771&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/OidRegistry.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/OidRegistry.java
Sat Dec 17 15:08:07 2016
@@ -40,6 +40,7 @@ import org.slf4j.LoggerFactory;
  * An OID is unique, and associated with a SO.
  * 
  * @param <T> The type of SchemaObject
+ * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class OidRegistry<T extends SchemaObject> implements Iterable<T>

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/Registries.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/Registries.java?rev=1774771&r1=1774770&r2=1774771&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/Registries.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/Registries.java
Sat Dec 17 15:08:07 2016
@@ -127,7 +127,7 @@ public class Registries implements Schem
     /** A flag indicating that disabled SchemaObject are accepted */
     private boolean disabledAccepted;
 
-    /** Two flags for RELAXED and STRiCT */
+    /** Two flags for RELAXED and STRICT modes */
     /** The strict mode */
     public static final boolean STRICT = false;
     



Mime
View raw message