Skip to content

Commit

Permalink
[fix] Restored method as deprecated in AbstractMetadataStore
Browse files Browse the repository at this point in the history
  • Loading branch information
merlimat committed Jan 23, 2024
1 parent 22838ea commit 4c4494a
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@ public CompletableFuture<Void> handleMetadataEvent(MetadataEvent event) {
return result;
}

@Deprecated
protected void registerSyncLister(Optional<MetadataEventSynchronizer> synchronizer) {
this.registerSyncListener(synchronizer);
}

protected void registerSyncListener(Optional<MetadataEventSynchronizer> synchronizer) {
synchronizer.ifPresent(s -> s.registerSyncListener(this::handleMetadataEvent));
}
Expand Down

0 comments on commit 4c4494a

Please sign in to comment.