maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1380394 - /maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/command/remoteinfo/RemoteInfoScmResult.java
Date Mon, 03 Sep 2012 22:55:09 GMT
Author: olamy
Date: Mon Sep  3 22:55:08 2012
New Revision: 1380394

URL: http://svn.apache.org/viewvc?rev=1380394&view=rev
Log:
improve toString

Modified:
    maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/command/remoteinfo/RemoteInfoScmResult.java

Modified: maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/command/remoteinfo/RemoteInfoScmResult.java
URL: http://svn.apache.org/viewvc/maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/command/remoteinfo/RemoteInfoScmResult.java?rev=1380394&r1=1380393&r2=1380394&view=diff
==============================================================================
--- maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/command/remoteinfo/RemoteInfoScmResult.java
(original)
+++ maven/scm/trunk/maven-scm-api/src/main/java/org/apache/maven/scm/command/remoteinfo/RemoteInfoScmResult.java
Mon Sep  3 22:55:08 2012
@@ -75,4 +75,15 @@ public class RemoteInfoScmResult
     {
         this.tags = tags;
     }
+
+    @Override
+    public String toString()
+    {
+        final StringBuilder sb = new StringBuilder();
+        sb.append( "RemoteInfoScmResult" );
+        sb.append( "{branches=" ).append( branches );
+        sb.append( ", tags=" ).append( tags );
+        sb.append( '}' );
+        return sb.toString();
+    }
 }



Mime
View raw message