File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
spring-integration-jdbc/src/main/java/org/springframework/integration/jdbc/store Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright 2002-2021 the original author or authors.
2+ * Copyright 2002-2022 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
2222import java .sql .Timestamp ;
2323import java .util .Arrays ;
2424import java .util .Collection ;
25- import java .util .HashMap ;
2625import java .util .Iterator ;
2726import java .util .List ;
2827import java .util .Map ;
2928import java .util .UUID ;
29+ import java .util .concurrent .ConcurrentHashMap ;
3030import java .util .stream .Stream ;
3131
3232import javax .sql .DataSource ;
@@ -171,7 +171,7 @@ public String getSql() {
171171
172172 private final String vendorName ;
173173
174- private final Map <Query , String > queryCache = new HashMap <>();
174+ private final Map <Query , String > queryCache = new ConcurrentHashMap <>();
175175
176176 private String region = "DEFAULT" ;
177177
You can’t perform that action at this time.
0 commit comments