directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r224572 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchResultDone.java
Date Sat, 23 Jul 2005 22:58:42 GMT
Author: elecharny
Date: Sat Jul 23 15:58:39 2005
New Revision: 224572

URL: http://svn.apache.org/viewcvs?rev=224572&view=rev
Log:
- fixed javadoc
- added a toString method

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchResultDone.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchResultDone.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchResultDone.java?rev=224572&r1=224571&r2=224572&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchResultDone.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchResultDone.java
Sat Jul 23 15:58:39 2005
@@ -20,7 +20,7 @@
  * A SearchResultDone Message. Its syntax is :
  *   SearchResultDone ::= [APPLICATION 5] LDAPResult
  * 
- * It's a Response, so it inherites from Response.
+ * It's a Response, so it inherites from LdapResponse.
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
@@ -34,5 +34,21 @@
     public SearchResultDone()
     {
         super( );
+    }
+
+    /**
+     * Get a String representation of a SearchResultDone
+     *
+     * @return A SearchResultDone String 
+     */
+    public String toString()
+    {
+
+        StringBuffer sb = new StringBuffer();
+
+        sb.append( "    Search Result Done\n" );
+        sb.append( super.toString() );
+
+        return sb.toString();
     }
 }



Mime
View raw message