mirror of https://github.com/zlatinb/muwire
add empty constructors for mocking
parent
9c85dfa7b4
commit
49bb78688f
|
@ -10,6 +10,8 @@ abstract class ConnectionManager {
|
|||
|
||||
final EventBus eventBus
|
||||
|
||||
ConnectionManager() {}
|
||||
|
||||
ConnectionManager(EventBus eventBus) {
|
||||
this.eventBus = eventBus
|
||||
}
|
||||
|
|
|
@ -23,6 +23,8 @@ class HostCache extends Service {
|
|||
final Destination myself
|
||||
final Map<Destination, Host> hosts = new ConcurrentHashMap<>()
|
||||
|
||||
HostCache(){}
|
||||
|
||||
public HostCache(TrustService trustService, File storage, int interval,
|
||||
MuWireSettings settings, Destination myself) {
|
||||
this.trustService = trustService
|
||||
|
|
Loading…
Reference in New Issue