Remove @author tags
[Sone.git] / src / main / java / net / pterodactylus / sone / core / WebOfTrustUpdaterImpl.java
index 05deb29..8cac572 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - WebOfTrustUpdater.java - Copyright © 2013 David Roden
+ * Sone - WebOfTrustUpdaterImpl.java - Copyright © 2013–2016 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
@@ -18,6 +18,7 @@
 package net.pterodactylus.sone.core;
 
 import static com.google.common.base.Preconditions.checkNotNull;
+import static java.util.logging.Logger.getLogger;
 
 import java.util.concurrent.BlockingQueue;
 import java.util.concurrent.LinkedBlockingQueue;
@@ -30,22 +31,21 @@ import net.pterodactylus.sone.freenet.wot.OwnIdentity;
 import net.pterodactylus.sone.freenet.wot.Trust;
 import net.pterodactylus.sone.freenet.wot.WebOfTrustConnector;
 import net.pterodactylus.sone.freenet.wot.WebOfTrustException;
-import net.pterodactylus.util.logging.Logging;
 import net.pterodactylus.util.service.AbstractService;
 
 import com.google.common.annotations.VisibleForTesting;
 import com.google.inject.Inject;
+import com.google.inject.Singleton;
 
 /**
  * Updates WebOfTrust identity data in a background thread because communicating
  * with the WebOfTrust plugin can potentially last quite long.
- *
- * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
+@Singleton
 public class WebOfTrustUpdaterImpl extends AbstractService implements WebOfTrustUpdater {
 
        /** The logger. */
-       private static final Logger logger = Logging.getLogger(WebOfTrustUpdaterImpl.class);
+       private static final Logger logger = getLogger(WebOfTrustUpdaterImpl.class.getName());
 
        /** Stop job. */
        @SuppressWarnings("synthetic-access")
@@ -227,8 +227,6 @@ public class WebOfTrustUpdaterImpl extends AbstractService implements WebOfTrust
 
        /**
         * Base class for WebOfTrust update jobs.
-        *
-        * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
         */
        @VisibleForTesting
        class WebOfTrustUpdateJob implements Runnable {
@@ -300,8 +298,6 @@ public class WebOfTrustUpdaterImpl extends AbstractService implements WebOfTrust
 
        /**
         * Update job that sets the trust relation between two identities.
-        *
-        * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
         */
        @VisibleForTesting
        class SetTrustJob extends WebOfTrustUpdateJob {
@@ -387,8 +383,6 @@ public class WebOfTrustUpdaterImpl extends AbstractService implements WebOfTrust
 
        /**
         * Base class for context updates of an {@link OwnIdentity}.
-        *
-        * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
         */
        @VisibleForTesting
        class WebOfTrustContextUpdateJob extends WebOfTrustUpdateJob {
@@ -443,8 +437,6 @@ public class WebOfTrustUpdaterImpl extends AbstractService implements WebOfTrust
 
        /**
         * Job that adds a context to an {@link OwnIdentity}.
-        *
-        * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
         */
        @VisibleForTesting
        class AddContextJob extends WebOfTrustContextUpdateJob {
@@ -479,8 +471,6 @@ public class WebOfTrustUpdaterImpl extends AbstractService implements WebOfTrust
 
        /**
         * Job that removes a context from an {@link OwnIdentity}.
-        *
-        * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
         */
        @VisibleForTesting
        class RemoveContextJob extends WebOfTrustContextUpdateJob {
@@ -515,8 +505,6 @@ public class WebOfTrustUpdaterImpl extends AbstractService implements WebOfTrust
 
        /**
         * WebOfTrust update job that sets a property on an {@link OwnIdentity}.
-        *
-        * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
         */
        @VisibleForTesting
        class SetPropertyJob extends WebOfTrustUpdateJob {