@Override public String toString() { IndexedTypeIdentifier entityClass = this.getEntityType(); if ( entityClass == null ) { return "FlushLuceneWork: global"; } else { return "FlushLuceneWork: " + entityClass.getName(); } } }
@Override public String toString() { IndexedTypeIdentifier entityClass = this.getEntityType(); if ( entityClass == null ) { return "FlushLuceneWork: global"; } else { return "FlushLuceneWork: " + entityClass.getName(); } } }
private static void assertFlush(FlushLuceneWork work, FlushLuceneWork copy) { assertThat( copy.getEntityType() ).as( "FlushLuceneWork.getEntityClass is not copied" ) .isEqualTo( work.getEntityType() ); }