directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1418872 - /directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/PrepareString.java
Date Sun, 09 Dec 2012 09:58:58 GMT
Author: elecharny
Date: Sun Dec  9 09:58:58 2012
New Revision: 1418872

URL: http://svn.apache.org/viewvc?rev=1418872&view=rev
Log:
Get rid of some Sonar warnings

Modified:
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/PrepareString.java

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/PrepareString.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/PrepareString.java?rev=1418872&r1=1418871&r2=1418872&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/PrepareString.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/PrepareString.java
Sun Dec  9 09:58:58 2012
@@ -260,13 +260,14 @@ public final class PrepareString
      * - lowercase
      * 
      * @param c The char to map
-     * @param target The array which will collect the transformed char
+     * @param array The array which will collect the transformed char
      * @param pos The current position in the target
      * @param lowerCase A mask to lowercase the char, if necessary
      * @return The transformed StringBuilder
      */
-    private static int map( char c, char[] target, int pos, char lowerCase )
+    private static int map( char c, char[] array, int pos, char lowerCase )
     {
+        char[] target = array;
         int start = pos;
 
         switch ( c )



Mime
View raw message