directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1721696 - /directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/DefaultEntry.java
Date Fri, 25 Dec 2015 23:20:07 GMT
Author: elecharny
Date: Fri Dec 25 23:20:07 2015
New Revision: 1721696

URL: http://svn.apache.org/viewvc?rev=1721696&view=rev
Log:
Speedup the toString() method

Modified:
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/DefaultEntry.java

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/DefaultEntry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/DefaultEntry.java?rev=1721696&r1=1721695&r2=1721696&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/DefaultEntry.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/DefaultEntry.java
Fri Dec 25 23:20:07 2015
@@ -2641,7 +2641,7 @@ public final class DefaultEntry implemen
 
                     if ( attributeType == null )
                     {
-                        sb.append( tabs + "id: " + id );
+                        sb.append( tabs ).append( "id: " ).append( id );
                     }
                     else if ( !attributeType.equals( objectClassAttributeType ) )
                     {



Mime
View raw message