X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fcore%2FSoneRescuer.java;h=0731b1a1e6f47a76bc8f01d78c7ca4c12f65df46;hp=542ec4aa69596c609af5d0159afa56ca77641016;hb=4b42574c9ec4490100ac3e87b9c2f3aac965a202;hpb=1bc78b582ac59f2438002997f5780db4dcee0a2a diff --git a/src/main/java/net/pterodactylus/sone/core/SoneRescuer.java b/src/main/java/net/pterodactylus/sone/core/SoneRescuer.java index 542ec4a..0731b1a 100644 --- a/src/main/java/net/pterodactylus/sone/core/SoneRescuer.java +++ b/src/main/java/net/pterodactylus/sone/core/SoneRescuer.java @@ -1,5 +1,5 @@ /* - * Sone - SoneRescuer.java - Copyright © 2011 David Roden + * Sone - SoneRescuer.java - Copyright © 2011–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 @@ -74,6 +74,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 +84,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 +104,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 +127,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; }