directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r681462 - /directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/changelog/Tag.java
Date Thu, 31 Jul 2008 19:56:31 GMT
Author: kayyagari
Date: Thu Jul 31 12:56:30 2008
New Revision: 681462

URL: http://svn.apache.org/viewvc?rev=681462&view=rev
Log:
implemented toString() method

Modified:
    directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/changelog/Tag.java

Modified: directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/changelog/Tag.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/changelog/Tag.java?rev=681462&r1=681461&r2=681462&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/changelog/Tag.java
(original)
+++ directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/changelog/Tag.java
Thu Jul 31 12:56:30 2008
@@ -121,4 +121,29 @@
 
         return false;
     }
+
+
+    @Override
+    public String toString()
+    {
+        StringBuilder sb = new StringBuilder();
+        sb.append( "Tag { " );
+        
+        sb.append( "revision = " )
+          .append( revision )
+          .append( ", " );
+        
+        sb.append( " tagDate = " )
+          .append( tagDate )
+          .append( ", " );
+        
+        sb.append( " revisionDate = " )
+        .append( revisionDate );
+        
+        sb.append( " }" );
+        
+        return sb.toString();
+    }
+    
+    
 }



Mime
View raw message