File tree Expand file tree Collapse file tree 6 files changed +6
-3
lines changed
src/main/java/dev/hypera/updatelib Expand file tree Collapse file tree 6 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 2222
2323 <groupId >dev.hypera</groupId >
2424 <artifactId >UpdateLib</artifactId >
25- <version >3.1.2-SNAPSHOT </version >
25+ <version >3.1.2</version >
2626 <packaging >jar</packaging >
2727
2828 <name >UpdateLib</name >
Original file line number Diff line number Diff line change 2020import dev .hypera .updatelib .checkers .UpdateChecker ;
2121import dev .hypera .updatelib .data .CheckData ;
2222import dev .hypera .updatelib .objects .UpdateStatus ;
23- import dev .hypera .updatelib .objects .UpdateStatusBuilder ;
2423
2524import java .util .Timer ;
2625import java .util .TimerTask ;
2726import java .util .function .Consumer ;
2827
2928public class UpdateLib {
3029
31- private final static String VERSION = "3.1.2-SNAPSHOT " ; // Current UpdateLib version.
30+ private final static String VERSION = "3.1.2" ; // Current UpdateLib version.
3231
3332 private final long resourceId ;
3433 private final String currentVersion ;
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ public interface UpdateChecker {
2525 * Check for an update.
2626 *
2727 * @param data Check data.
28+ *
2829 * @return {@link UpdateStatus}
2930 * @throws Exception Any exceptions that occur while checking for updates.
3031 * @since 3.0.0-SNAPSHOT
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ public class PolymartUpdateChecker implements UpdateChecker {
3838 * Check for an update using Polymart's API.
3939 *
4040 * @param data Check data.
41+ *
4142 * @return {@link UpdateStatus}
4243 * @throws Exception Any exceptions that occur while checking for updates.
4344 * @since 3.0.0-SNAPSHOT
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ public class SpigotLegacyUpdateChecker implements UpdateChecker {
3636 * Check for an update using SpigotMC's Legacy API.
3737 *
3838 * @param data Check data.
39+ *
3940 * @return {@link UpdateStatus}
4041 * @throws Exception Any exceptions that occur while checking for updates.
4142 * @since 3.0.0-SNAPSHOT
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ public class SpigotUpdateChecker implements UpdateChecker {
3838 * Check for an update using SpigotMC's API.
3939 *
4040 * @param data Check data.
41+ *
4142 * @return {@link UpdateStatus}
4243 * @throws Exception Any exceptions that occur while checking for updates.
4344 * @since 3.0.0-SNAPSHOT
You can’t perform that action at this time.
0 commit comments