directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r764176 - /directory/shared/branches/shared-replication/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/messages/AbstractMessage.java
Date Sat, 11 Apr 2009 07:13:44 GMT
Author: elecharny
Date: Sat Apr 11 07:13:44 2009
New Revision: 764176

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

Modified:
    directory/shared/branches/shared-replication/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/messages/AbstractMessage.java

Modified: directory/shared/branches/shared-replication/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/messages/AbstractMessage.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-replication/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/messages/AbstractMessage.java?rev=764176&r1=764175&r2=764176&view=diff
==============================================================================
--- directory/shared/branches/shared-replication/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/messages/AbstractMessage.java
(original)
+++ directory/shared/branches/shared-replication/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/messages/AbstractMessage.java
Sat Apr 11 07:13:44 2009
@@ -164,9 +164,12 @@
 
         if ( controls != null )
         {
+            sb.append( "    controls :\n" );
+            
             for ( Control control:controls.values() )
             {
-                sb.append( control );
+                sb.append( "        " ).append( control.getClass().getSimpleName() );
+                sb.append( ":" ).append( control.getID() ).append( "\n" );
             }
         }
 



Mime
View raw message