File tree 1 file changed +3
-3
lines changed
spring-integration-jdbc/src/main/java/org/springframework/integration/jdbc/store 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2021 the original author or authors.
2
+ * Copyright 2002-2022 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
22
22
import java .sql .Timestamp ;
23
23
import java .util .Arrays ;
24
24
import java .util .Collection ;
25
- import java .util .HashMap ;
26
25
import java .util .Iterator ;
27
26
import java .util .List ;
28
27
import java .util .Map ;
29
28
import java .util .UUID ;
29
+ import java .util .concurrent .ConcurrentHashMap ;
30
30
import java .util .stream .Stream ;
31
31
32
32
import javax .sql .DataSource ;
@@ -171,7 +171,7 @@ public String getSql() {
171
171
172
172
private final String vendorName ;
173
173
174
- private final Map <Query , String > queryCache = new HashMap <>();
174
+ private final Map <Query , String > queryCache = new ConcurrentHashMap <>();
175
175
176
176
private String region = "DEFAULT" ;
177
177
You can’t perform that action at this time.
0 commit comments