From 1745ccd7921df1769d1e7e6b71144f13c6bad3a3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 10 Nov 2008 22:24:31 +0100 Subject: [PATCH] Make update URL a bit easier to update. --- src/de/todesbaum/jsite/gui/UpdateChecker.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/de/todesbaum/jsite/gui/UpdateChecker.java b/src/de/todesbaum/jsite/gui/UpdateChecker.java index 8f46c15..b707f08 100644 --- a/src/de/todesbaum/jsite/gui/UpdateChecker.java +++ b/src/de/todesbaum/jsite/gui/UpdateChecker.java @@ -46,9 +46,12 @@ import de.todesbaum.util.freenet.fcp2.Connection; */ public class UpdateChecker { + /** The edition for the update check URL. */ + private static final int UPDATE_EDITION = 2; + /** The URL for update checks. */ @SuppressWarnings("unused") - private static final String UPDATE_KEY = "USK@e3myoFyp5avg6WYN16ImHri6J7Nj8980Fm~aQe4EX1U,QvbWT0ImE0TwLODTl7EoJx2NBnwDxTbLTE6zkB-eGPs,AQACAAE/jSite/0/currentVersion.txt"; + private static final String UPDATE_KEY = "USK@e3myoFyp5avg6WYN16ImHri6J7Nj8980Fm~aQe4EX1U,QvbWT0ImE0TwLODTl7EoJx2NBnwDxTbLTE6zkB-eGPs,AQACAAE/jSite/" + UPDATE_EDITION + "/jSite.properties"; /** Object used for synchronization. */ private final Object syncObject = new Object(); -- 2.7.4