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 22
22
23
23
<groupId >dev.hypera</groupId >
24
24
<artifactId >UpdateLib</artifactId >
25
- <version >3.1.2-SNAPSHOT </version >
25
+ <version >3.1.2</version >
26
26
<packaging >jar</packaging >
27
27
28
28
<name >UpdateLib</name >
Original file line number Diff line number Diff line change 20
20
import dev .hypera .updatelib .checkers .UpdateChecker ;
21
21
import dev .hypera .updatelib .data .CheckData ;
22
22
import dev .hypera .updatelib .objects .UpdateStatus ;
23
- import dev .hypera .updatelib .objects .UpdateStatusBuilder ;
24
23
25
24
import java .util .Timer ;
26
25
import java .util .TimerTask ;
27
26
import java .util .function .Consumer ;
28
27
29
28
public class UpdateLib {
30
29
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.
32
31
33
32
private final long resourceId ;
34
33
private final String currentVersion ;
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ public interface UpdateChecker {
25
25
* Check for an update.
26
26
*
27
27
* @param data Check data.
28
+ *
28
29
* @return {@link UpdateStatus}
29
30
* @throws Exception Any exceptions that occur while checking for updates.
30
31
* @since 3.0.0-SNAPSHOT
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ public class PolymartUpdateChecker implements UpdateChecker {
38
38
* Check for an update using Polymart's API.
39
39
*
40
40
* @param data Check data.
41
+ *
41
42
* @return {@link UpdateStatus}
42
43
* @throws Exception Any exceptions that occur while checking for updates.
43
44
* @since 3.0.0-SNAPSHOT
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ public class SpigotLegacyUpdateChecker implements UpdateChecker {
36
36
* Check for an update using SpigotMC's Legacy API.
37
37
*
38
38
* @param data Check data.
39
+ *
39
40
* @return {@link UpdateStatus}
40
41
* @throws Exception Any exceptions that occur while checking for updates.
41
42
* @since 3.0.0-SNAPSHOT
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ public class SpigotUpdateChecker implements UpdateChecker {
38
38
* Check for an update using SpigotMC's API.
39
39
*
40
40
* @param data Check data.
41
+ *
41
42
* @return {@link UpdateStatus}
42
43
* @throws Exception Any exceptions that occur while checking for updates.
43
44
* @since 3.0.0-SNAPSHOT
You can’t perform that action at this time.
0 commit comments