/** * Visits this store, and any other store managed by this store. * TODO this could, and probably should, replace all override-and-do-the-same-thing-to-all-my-managed-stores * methods like: * {@link #makeStoreOk()}, * {@link #close()} (where that method could be deleted all together and do a visit in {@link #close()}), * {@link #logIdUsage(Logger)}, * {@link #logVersions(Logger)} * For a good samaritan to pick up later. */void visitStore( Visitor<CommonAbstractStore<RECORD,HEADER>,RuntimeException> visitor )
{
visitor.visit( this );
}

Coding smarter using AI

"With so much code out there, many of the problems developers face are already solved. Codota trains on open source code and automatically completes best practice code in the IDE"