Update year in copyright lines
[Sone.git] / src / main / java / net / pterodactylus / sone / core / SoneRescuer.java
index 542ec4a..2246ac9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - SoneRescuer.java - Copyright © 2011 David Roden
+ * Sone - SoneRescuer.java - Copyright © 2011–2019 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
@@ -24,8 +24,6 @@ import freenet.keys.FreenetURI;
 /**
  * The Sone rescuer downloads older editions of a Sone and updates the currently
  * stored Sone with it.
- *
- * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
 public class SoneRescuer extends AbstractService {
 
@@ -74,6 +72,7 @@ public class SoneRescuer extends AbstractService {
         *
         * @return {@code true} if the Sone rescuer is currently fetching a Sone
         */
+       @SuppressWarnings("unused") // used in rescue.html
        public boolean isFetching() {
                return fetching;
        }
@@ -83,6 +82,7 @@ public class SoneRescuer extends AbstractService {
         *
         * @return The edition that is currently being downloaded
         */
+       @SuppressWarnings("unused") // used in rescue.html
        public long getCurrentEdition() {
                return currentEdition;
        }
@@ -102,6 +102,7 @@ public class SoneRescuer extends AbstractService {
         *
         * @return The next edition the Sone rescuer can download
         */
+       @SuppressWarnings("unused") // used in rescue.html
        public long getNextEdition() {
                return currentEdition - 1;
        }
@@ -124,6 +125,7 @@ public class SoneRescuer extends AbstractService {
         * @return {@code true} if the last fetch was successful, {@code false}
         *         otherwise
         */
+       @SuppressWarnings("unused") // used in rescue.html
        public boolean isLastFetchSuccessful() {
                return lastFetchSuccessful;
        }