diff --git a/core/src/main/groovy/com/muwire/core/connection/ConnectionManager.groovy b/core/src/main/groovy/com/muwire/core/connection/ConnectionManager.groovy index 469db8a8..85be51d2 100644 --- a/core/src/main/groovy/com/muwire/core/connection/ConnectionManager.groovy +++ b/core/src/main/groovy/com/muwire/core/connection/ConnectionManager.groovy @@ -10,6 +10,8 @@ abstract class ConnectionManager { final EventBus eventBus + ConnectionManager() {} + ConnectionManager(EventBus eventBus) { this.eventBus = eventBus } diff --git a/core/src/main/groovy/com/muwire/core/hostcache/HostCache.groovy b/core/src/main/groovy/com/muwire/core/hostcache/HostCache.groovy index f4763297..ea76d72e 100644 --- a/core/src/main/groovy/com/muwire/core/hostcache/HostCache.groovy +++ b/core/src/main/groovy/com/muwire/core/hostcache/HostCache.groovy @@ -23,6 +23,8 @@ class HostCache extends Service { final Destination myself final Map hosts = new ConcurrentHashMap<>() + HostCache(){} + public HostCache(TrustService trustService, File storage, int interval, MuWireSettings settings, Destination myself) { this.trustService = trustService