directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r349429 - /directory/shared/ldap/trunk/common/src/main/java/org/apache/ldap/common/message/AddResponseImpl.java
Date Mon, 28 Nov 2005 16:53:49 GMT
Author: elecharny
Date: Mon Nov 28 08:53:44 2005
New Revision: 349429

URL: http://svn.apache.org/viewcvs?rev=349429&view=rev
Log:
added a toString method for debugging purpose

Modified:
    directory/shared/ldap/trunk/common/src/main/java/org/apache/ldap/common/message/AddResponseImpl.java

Modified: directory/shared/ldap/trunk/common/src/main/java/org/apache/ldap/common/message/AddResponseImpl.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/trunk/common/src/main/java/org/apache/ldap/common/message/AddResponseImpl.java?rev=349429&r1=349428&r2=349429&view=diff
==============================================================================
--- directory/shared/ldap/trunk/common/src/main/java/org/apache/ldap/common/message/AddResponseImpl.java
(original)
+++ directory/shared/ldap/trunk/common/src/main/java/org/apache/ldap/common/message/AddResponseImpl.java
Mon Nov 28 08:53:44 2005
@@ -41,4 +41,21 @@
     {
         super( id, TYPE ) ;
     }
+    
+    /**
+     * Get a String representation of an AddResponse
+     *
+     * @return An AddResponse String 
+     */
+    public String toString()
+    {
+
+        StringBuffer sb = new StringBuffer();
+
+        sb.append( "    Add Response\n" );
+        sb.append( super.toString() );
+
+        return sb.toString();
+    }
+    
 }



Mime
View raw message