File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
spring-modulith-test/src/main/java/org/springframework/modulith/test Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1616package org .springframework .modulith .test ;
1717
1818import java .util .Arrays ;
19- import java .util .HashMap ;
2019import java .util .Iterator ;
2120import java .util .List ;
2221import java .util .Map ;
2322import java .util .Objects ;
2423import java .util .Optional ;
24+ import java .util .concurrent .ConcurrentHashMap ;
2525import java .util .function .Supplier ;
2626import java .util .stream .Collectors ;
2727import java .util .stream .Stream ;
@@ -51,8 +51,8 @@ public class ModuleTestExecution implements Iterable<ApplicationModule> {
5151 private static final Logger LOGGER = LoggerFactory .getLogger (ModuleTestExecution .class );
5252 private static final ApplicationModulesFactory BOOTSTRAP ;
5353
54- private static Map <Class <?>, Class <?>> MODULITH_TYPES = new HashMap <>();
55- private static Map <Key , ModuleTestExecution > EXECUTIONS = new HashMap <>();
54+ private static final Map <Class <?>, Class <?>> MODULITH_TYPES = new ConcurrentHashMap <>();
55+ private static final Map <Key , ModuleTestExecution > EXECUTIONS = new ConcurrentHashMap <>();
5656
5757 static {
5858
You can’t perform that action at this time.
0 commit comments