Skip to content

Commit 3232042

Browse files
committed
Update DValidator.java
1 parent 19e609d commit 3232042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validator/src/main/java/io/avaje/validation/core/DValidator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ final class DValidator implements Validator, ValidationContext {
3232
private final MessageInterpolator interpolator;
3333
private final LocaleResolver localeResolver;
3434
private final DTemplateLookup templateLookup;
35-
private final Map<String, String> messageCache = new HashMap<>();
35+
private final Map<String, String> messageCache = new ConcurrentHashMap<>();
3636

3737
DValidator(
3838
List<AdapterFactory> factories,

0 commit comments

Comments
 (0)