directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1418880 - in /directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/message: BindRequestImpl.java ExtendedResponseImpl.java
Date Sun, 09 Dec 2012 10:17:16 GMT
Author: elecharny
Date: Sun Dec  9 10:17:15 2012
New Revision: 1418880

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

Modified:
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/message/BindRequestImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/message/ExtendedResponseImpl.java

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/message/BindRequestImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/message/BindRequestImpl.java?rev=1418880&r1=1418879&r2=1418880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/message/BindRequestImpl.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/message/BindRequestImpl.java
Sun Dec  9 10:17:15 2012
@@ -471,7 +471,7 @@ public class BindRequestImpl extends Abs
         }
         else
         {
-            sb.append( "        Name : '" ).append( name.toString() ).append( "'\n" );
+            sb.append( "        Name : '" ).append( name ).append( "'\n" );
 
             if ( isSimple )
             {

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/message/ExtendedResponseImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/message/ExtendedResponseImpl.java?rev=1418880&r1=1418879&r2=1418880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/message/ExtendedResponseImpl.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/message/ExtendedResponseImpl.java
Sun Dec  9 10:17:15 2012
@@ -81,7 +81,7 @@ public class ExtendedResponseImpl extend
      */
     public String getResponseName()
     {
-        return ( ( responseName == null ) ? "" : responseName.toString() );
+        return ( ( responseName == null ) ? "" : responseName );
     }
 
 



Mime
View raw message