directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r209135 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/Response.java
Date Mon, 04 Jul 2005 22:35:17 GMT
Author: elecharny
Date: Mon Jul  4 15:35:16 2005
New Revision: 209135

URL: http://svn.apache.org/viewcvs?rev=209135&view=rev
Log:
Added a toString() method

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

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/Response.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/Response.java?rev=209135&r1=209134&r2=209135&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/Response.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/Response.java
Mon Jul  4 15:35:16 2005
@@ -52,10 +52,22 @@
 
     /**
      * Set the ldap result
+     * 
      * @param ldapResult The ldapResult to set.
      */
     public void setLdapResult( LdapResult ldapResult )
     {
         this.ldapResult = ldapResult;
     }
+    
+    /**
+     * Get a String representation of an Response
+     *
+     * @return An Response String 
+     */
+    public String toString()
+    {
+        return ldapResult.toString();
+    }
+    
 }



Mime
View raw message