Mercurial > hg > AnnotationManagerN4J
changeset 69:9d3885d1681e
for nicer log messages.
author | casties |
---|---|
date | Sat, 22 Feb 2014 07:25:58 -0800 |
parents | 39bc52f9b102 |
children | 2b1e6df5e21a |
files | src/main/java/de/mpiwg/itgroup/annotations/Person.java |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/itgroup/annotations/Person.java Sat Feb 22 07:12:37 2014 -0800 +++ b/src/main/java/de/mpiwg/itgroup/annotations/Person.java Sat Feb 22 07:25:58 2014 -0800 @@ -69,4 +69,16 @@ } return name; } + + /* (non-Javadoc) + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + String s = "PERSON["+id+"]"; + if (name != null) { + s += ": "+name; + } + return s; + } }