MINOR: remove @FunctionalInterface annotation (#19618)
CI / build (push) Waiting to run Details

BatchingStateRestoreCallback's default implemeantion of restore() lead
to waraning `FunctionalInterfaceMethodChanged`.

Reviewers: Lucas Brutschy <lbrutschy@confluent.io>, PoAn Yang
 <payang@apache.org>, Ken Huang <s7133700@gmail.com>, TengYao Chi
 <frankvicky@apache.org>
This commit is contained in:
Matthias J. Sax 2025-05-02 03:02:38 -07:00 committed by GitHub
parent f69337b37c
commit bc7e57242d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -28,11 +28,10 @@ import java.util.Collection;
* It is expected that implementations of this class will not call the {@link StateRestoreCallback#restore(byte[], * It is expected that implementations of this class will not call the {@link StateRestoreCallback#restore(byte[],
* byte[])} method. * byte[])} method.
*/ */
@FunctionalInterface
public interface BatchingStateRestoreCallback extends StateRestoreCallback { public interface BatchingStateRestoreCallback extends StateRestoreCallback {
/** /**
* Called to restore a number of records. This method is called repeatedly until the {@link StateStore} is fulled * Called to restore a number of records. This method is called repeatedly until the {@link StateStore} is fully
* restored. * restored.
* *
* @param records the records to restore. * @param records the records to restore.