From: David ‘Bombe’ Roden Date: Wed, 24 Dec 2008 11:12:23 +0000 (+0100) Subject: Expose latest found version. X-Git-Tag: 0.7~7 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=74c3acbceeb2b83b5cf132aef9a852e21c9b3bb1;p=jSite.git Expose latest found version. --- diff --git a/src/de/todesbaum/jsite/gui/UpdateChecker.java b/src/de/todesbaum/jsite/gui/UpdateChecker.java index 5a13072..e4829ac 100644 --- a/src/de/todesbaum/jsite/gui/UpdateChecker.java +++ b/src/de/todesbaum/jsite/gui/UpdateChecker.java @@ -101,6 +101,19 @@ public class UpdateChecker implements Runnable { } // + // ACCESSORS + // + + /** + * Returns the latest version that was found. + * + * @return The latest found version + */ + public Version getLatestVersion() { + return lastVersion; + } + + // // ACTIONS //