X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Ffreenet%2Fwot%2FIdentityManagerImpl.java;h=9efb27069fe84015a3959aa7cd5462fc2be28f09;hb=f31570baa3b96a18d38f1351c55886a653fcdba8;hp=f568aa4512b7267496d9b87201f2d324ef403b1b;hpb=5bcdc1b924c598b1e59551d44e2302ef29258dad;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/freenet/wot/IdentityManagerImpl.java b/src/main/java/net/pterodactylus/sone/freenet/wot/IdentityManagerImpl.java index f568aa4..9efb270 100644 --- a/src/main/java/net/pterodactylus/sone/freenet/wot/IdentityManagerImpl.java +++ b/src/main/java/net/pterodactylus/sone/freenet/wot/IdentityManagerImpl.java @@ -1,5 +1,5 @@ /* - * Sone - IdentityManager.java - Copyright © 2010–2013 David Roden + * Sone - IdentityManagerImpl.java - Copyright © 2010–2015 David Roden * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -17,6 +17,8 @@ package net.pterodactylus.sone.freenet.wot; +import static java.util.logging.Logger.getLogger; + import java.util.Collection; import java.util.HashMap; import java.util.HashSet; @@ -26,7 +28,6 @@ import java.util.logging.Level; import java.util.logging.Logger; import net.pterodactylus.sone.freenet.plugin.PluginException; -import net.pterodactylus.util.logging.Logging; import net.pterodactylus.util.service.AbstractService; import com.google.common.collect.Sets; @@ -49,7 +50,7 @@ import com.google.inject.Singleton; public class IdentityManagerImpl extends AbstractService implements IdentityManager { /** The logger. */ - private static final Logger logger = Logging.getLogger(IdentityManagerImpl.class); + private static final Logger logger = getLogger(IdentityManagerImpl.class.getName()); /** The event bus. */ private final EventBus eventBus; @@ -126,6 +127,7 @@ public class IdentityManagerImpl extends AbstractService implements IdentityMana while (!shouldStop()) { try { Map> currentIdentities = identityLoader.loadIdentities(); + webOfTrustConnector.start(); IdentityChangeEventSender identityChangeEventSender = new IdentityChangeEventSender(eventBus, oldIdentities); identityChangeEventSender.detectChanges(currentIdentities);