io.annot8.common.implementations.stores.NoOpSaveCallback Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of annot8-common-implementations Show documentation
Show all versions of annot8-common-implementations Show documentation
Common functionality used by Annot8 implementations
/* Annot8 (annot8.io) - Licensed under Apache-2.0. */
package io.annot8.common.implementations.stores;
/**
* Passes through the object without modification.
*
* This is useful if your require a SaveCallback, but don't need to do anything with the object.
*/
public final class NoOpSaveCallback implements SaveCallback {
@Override
public T save(T item) {
return item;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy