mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-16 11:54:52 +00:00
Annotate all the things
This commit is contained in:
63 files changed
+623
-369
No files matched your search
@@ -29,14 +29,19 @@ import org.apache.logging.log4j.Logger;
|
||||
@StableAPI(since = "0.8.0")
|
||||
public class ModUpdateInfo {
|
||||
@NonNull
|
||||
@StableAPI.Expose
|
||||
public final String modID;
|
||||
@NonNull
|
||||
@StableAPI.Expose
|
||||
public final String currentVersion;
|
||||
@NonNull
|
||||
@StableAPI.Expose
|
||||
public final String latestVersion;
|
||||
@NonNull
|
||||
@StableAPI.Expose
|
||||
public final String updateURL;
|
||||
|
||||
@StableAPI.Expose
|
||||
public void log(Logger logger) {
|
||||
logger.info("Updates are available for mod {}: Currently installed version is {}, " +
|
||||
"latest available version is {}. Update URL: {}", modID, currentVersion, latestVersion,
|
||||
|
||||
Reference in new issue
Block a user