8000 [Quarkus 4] Replace the mock instance tracker's internal Vert.x collection by Pepo48 · Pull Request #54593 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
package org.keycloak.testframework.injection.mocks;

import java.util.Set;

import io.vertx.core.impl.ConcurrentHashSet;
import java.util.concurrent.ConcurrentHashMap;

public class MockInstances {

public static final Set<Object> INSTANCES = new ConcurrentHashSet<>();
public static final Set<Object> CLOSED_INSTANCES = new ConcurrentHashSet<>();
public static final Set<Object> INSTANCES = ConcurrentHashMap.newKeySet();
public static final Set<Object> CLOSED_INSTANCES = ConcurrentHashMap.newKeySet();

public static void reset() {
INSTANCES.clear();
Expand Down
Loading
0