public VersionSummary( final Serializable id, final Serializable versionedFileId, final boolean aclOnlyChange, final Date date, final String author, final String message, final List<String> labels ) { super(); notNull( id ); notNull( versionedFileId ); notNull( date ); hasText( author ); notNull( labels ); this.id = id; this.versionedFileId = versionedFileId; this.date = new Date( date.getTime() ); this.author = author; this.message = message; this.labels = Collections.unmodifiableList( labels ); this.aclOnlyChange = aclOnlyChange; }