From 74c3acbceeb2b83b5cf132aef9a852e21c9b3bb1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 24 Dec 2008 12:12:23 +0100 Subject: [PATCH 1/1] Expose latest found version. --- src/de/todesbaum/jsite/gui/UpdateChecker.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 // -- 2.7.4