Skip to content

Commit

Permalink
Remove useless DispatchEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu committed Jan 1, 2025
1 parent 37ac5c8 commit c91b15c
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
package org.apache.shardingsphere.mode.manager.cluster.event.dispatch.listener;

import org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader;
import org.apache.shardingsphere.infra.util.eventbus.EventBusContext;
import org.apache.shardingsphere.metadata.persist.node.DatabaseMetaDataNode;
import org.apache.shardingsphere.mode.manager.ContextManager;
import org.apache.shardingsphere.mode.manager.cluster.event.dispatch.handler.DataChangedEventHandler;
Expand All @@ -37,14 +36,11 @@ public final class DataChangedEventListenerRegistry {

private final ClusterPersistRepository repository;

private final EventBusContext eventBusContext;

private final Collection<String> databaseNames;

public DataChangedEventListenerRegistry(final ContextManager contextManager, final Collection<String> databaseNames) {
this.contextManager = contextManager;
repository = (ClusterPersistRepository) contextManager.getPersistServiceFacade().getRepository();
eventBusContext = contextManager.getComputeNodeInstanceContext().getEventBusContext();
this.databaseNames = databaseNames;
}

Expand Down

0 comments on commit c91b15c

Please sign in to comment.