diff options
author | Olivier Lamy <olamy@apache.org> | 2013-05-29 11:33:17 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2013-05-29 11:33:17 +0000 |
commit | df15038b49ac445ca5052a30e23e2aa4bab6e668 (patch) | |
tree | 553b093b148b22a2ffb62ea5fe35ba15d5868a1a /archiva-modules/metadata/metadata-model/src | |
parent | 0eba5a5c219a18bab470f487fa36bfaaf887600f (diff) | |
download | archiva-df15038b49ac445ca5052a30e23e2aa4bab6e668.tar.gz archiva-df15038b49ac445ca5052a30e23e2aa4bab6e668.zip |
add to string for debug purpose
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1487442 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/metadata/metadata-model/src')
-rw-r--r-- | archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectMetadata.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectMetadata.java b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectMetadata.java index 8db1f0116..c795bb5db 100644 --- a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectMetadata.java +++ b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectMetadata.java @@ -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(); + } } |