Skip to content

Commit b46f154

Browse files
committed
Fix to ensure we have ConcurrentHashMap for BaseService resources collection
1 parent d246bc3 commit b46f154

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/groovy/io/xh/hoist/BaseService.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ abstract class BaseService implements LogSupport, IdentitySupport, DisposableBea
6767
Date lastCachesCleared = null
6868

6969
// Caches, CachedValues and Timers and other distributed objects associated with this service
70-
protected final ConcurrentHashMap<String, Object> resources = [:]
70+
protected final ConcurrentHashMap<String, Object> resources = new ConcurrentHashMap()
7171

7272
private boolean _destroyed = false
7373

0 commit comments

Comments
 (0)