comparison src/main/java/de/mpiwg/itgroup/annotations/Person.java @ 102:9140017e8962

fix bug with empty username. add logging for JSON exceptions.
author casties
date Thu, 09 Feb 2017 20:46:15 +0100
parents b406507a953d
children f83eb8b335b1
comparison
equal deleted inserted replaced
101:7268c3ca025b 102:9140017e8962
97 * Returns the anonymous Person. 97 * Returns the anonymous Person.
98 * 98 *
99 * @return 99 * @return
100 */ 100 */
101 public static Person getAnonymous() { 101 public static Person getAnonymous() {
102 return new Person("anonymous"); 102 return new Person("anonymous", "Anonymous");
103 } 103 }
104 104
105 /* (non-Javadoc) 105 /* (non-Javadoc)
106 * @see java.lang.Object#toString() 106 * @see java.lang.Object#toString()
107 */ 107 */