src/edu/kit/informatik/literatur_system/Author.java
/**
     * Associates a new publication to this author
     * @param publication the publication in which this worked
     */
Associates a new publication to this author
@param publication the publication in which this worked
Associates a new publication to this author @param publication the publication in which this worked
public void addPublication(final Publication publication) {
        if (publications.putIfAbsent(publication, publication) != null)
            throw new IllegalArgumentException("this author is already associated to the given publication");
    }
public void addPublication ( final Publication publication ) { if ( publications . putIfAbsent ( publication , publication ) != null ) throw new IllegalArgumentException ( "this author is already associated to the given publication" ) ; }
Associates a new publication to this author
 @param publication the publication in which this worked
Associates a new publication to this author @param publication the publication in which this worked
// FIXME improve error message