directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1417556 - in /directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/message: SearchResultEntryImpl.java SearchResultReferenceImpl.java
Date Wed, 05 Dec 2012 17:51:36 GMT
Author: elecharny
Date: Wed Dec  5 17:51:33 2012
New Revision: 1417556

URL: http://svn.apache.org/viewvc?rev=1417556&view=rev
Log:
Don't write anymore the controls in the toString() method : it's already done by the parent
class.

Modified:
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/message/SearchResultEntryImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/message/SearchResultReferenceImpl.java

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/message/SearchResultEntryImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/message/SearchResultEntryImpl.java?rev=1417556&r1=1417555&r2=1417556&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/message/SearchResultEntryImpl.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/message/SearchResultEntryImpl.java
Wed Dec  5 17:51:33 2012
@@ -177,14 +177,6 @@ public class SearchResultEntryImpl exten
             sb.append( "            No entry\n" );
         }
 
-        if ( ( controls != null ) && ( controls.size() != 0 ) )
-        {
-            for ( Control control : controls.values() )
-            {
-                sb.append( control );
-            }
-        }
-
         return super.toString( sb.toString() );
     }
 }

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/message/SearchResultReferenceImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/message/SearchResultReferenceImpl.java?rev=1417556&r1=1417555&r2=1417556&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/message/SearchResultReferenceImpl.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/message/SearchResultReferenceImpl.java
Wed Dec  5 17:51:33 2012
@@ -159,14 +159,6 @@ public class SearchResultReferenceImpl e
             }
         }
 
-        if ( ( controls != null ) && ( controls.size() != 0 ) )
-        {
-            for ( Control control : controls.values() )
-            {
-                sb.append( control );
-            }
-        }
-
         return super.toString( sb.toString() );
     }
 }



Mime
View raw message