directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r771984 - /directory/shared/branches/shared-replication/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/messages/SearchResultEntryImpl.java
Date Tue, 05 May 2009 21:54:44 GMT
Author: elecharny
Date: Tue May  5 21:54:43 2009
New Revision: 771984

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

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

Modified: directory/shared/branches/shared-replication/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/messages/SearchResultEntryImpl.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/SearchResultEntryImpl.java?rev=771984&r1=771983&r2=771984&view=diff
==============================================================================
--- directory/shared/branches/shared-replication/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/messages/SearchResultEntryImpl.java
(original)
+++ directory/shared/branches/shared-replication/client-api/src/main/java/org/apache/directory/shared/ldap/client/api/messages/SearchResultEntryImpl.java
Tue May  5 21:54:43 2009
@@ -78,4 +78,19 @@
     {
         this.entry = entry;
     }
+    
+    
+    /**
+     * @see Object#toString()
+     */
+    public String toString()
+    {
+        StringBuilder sb = new StringBuilder();
+        
+        sb.append( super.toString() );
+        
+        sb.append( entry );
+        
+        return sb.toString();
+    }
 }



Mime
View raw message