]> source.dussan.org Git - archiva.git/commitdiff
add to string for debug purpose
authorOlivier Lamy <olamy@apache.org>
Wed, 29 May 2013 11:33:17 +0000 (11:33 +0000)
committerOlivier Lamy <olamy@apache.org>
Wed, 29 May 2013 11:33:17 +0000 (11:33 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1487442 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectMetadata.java

index 8db1f0116749ff97ede14e3ad751b4491fdc092c..c795bb5db0ab95474de248a1cdb5a2ef528e76a3 100644 (file)
@@ -44,4 +44,14 @@ public class ProjectMetadata
     {
         this.namespace = namespace;
     }
+
+    @Override
+    public String toString()
+    {
+        final StringBuilder sb = new StringBuilder( "ProjectMetadata{" );
+        sb.append( "namespace='" ).append( namespace ).append( '\'' );
+        sb.append( ", id='" ).append( id ).append( '\'' );
+        sb.append( '}' );
+        return sb.toString();
+    }
 }