Skip to content

Commit

Permalink
Fix missing part of earlier merge
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Apr 4, 2024
1 parent 5761ac0 commit efe91c1
Showing 1 changed file with 6 additions and 2 deletions.
Expand Up @@ -94,7 +94,9 @@ public MAPPER getDefaultMapper() {
if (_defaultMapper == null) {
_lock.lock();
try {
_defaultMapper = _mapperWithConfiguration(mapperBuilder());
if (_defaultMapper == null) {
_defaultMapper = _mapperWithConfiguration(mapperBuilder());
}
} finally {
_lock.unlock();
}
Expand All @@ -112,7 +114,9 @@ protected MAPPER mapper()
if (_mapper == null) {
_lock.lock();
try {
_mapper = _mapperWithConfiguration(mapperBuilder());
if (_mapper == null) {
_mapper = _mapperWithConfiguration(mapperBuilder());
}
} finally {
_lock.unlock();
}
Expand Down

0 comments on commit efe91c1

Please sign in to comment.