File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
core/src/main/java/org/neo4j/gds/core/loading Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2828import org .neo4j .gds .utils .StringJoining ;
2929import org .neo4j .logging .Log ;
3030
31- import java .util .ArrayList ;
32- import java .util .List ;
31+ import java .util .HashSet ;
3332import java .util .Locale ;
3433import java .util .Map ;
3534import java .util .NoSuchElementException ;
3635import java .util .Optional ;
36+ import java .util .Set ;
3737import java .util .concurrent .ConcurrentHashMap ;
3838import java .util .function .Consumer ;
3939import java .util .stream .Collectors ;
@@ -45,7 +45,7 @@ public final class GraphStoreCatalog {
4545
4646 private static final ConcurrentHashMap <String , UserCatalog > userCatalogs = new ConcurrentHashMap <>();
4747
48- private static final List <GraphStoreCatalogListener > listeners = new ArrayList <>();
48+ private static final Set <GraphStoreCatalogListener > listeners = new HashSet <>();
4949
5050 // as we want to use the Neo4j log if possible and the catalog is a static instance,
5151 // we make the log injectable
You can’t perform that action at this time.
0 commit comments