/*
- * jSite - UpdateChecker.java - Copyright © 2008–2011 David Roden
+ * jSite - UpdateChecker.java - Copyright © 2008–2012 David Roden
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
private static int counter = 0;
/** The edition for the update check URL. */
- private static final int UPDATE_EDITION = 11;
+ private static final int UPDATE_EDITION = 17;
/** The URL for update checks. */
private static final String UPDATE_KEY = "USK@e3myoFyp5avg6WYN16ImHri6J7Nj8980Fm~aQe4EX1U,QvbWT0ImE0TwLODTl7EoJx2NBnwDxTbLTE6zkB-eGPs,AQACAAE";
* The edition number
* @return The URI for the update file for the given edition
*/
- private String constructUpdateKey(int edition) {
+ private static String constructUpdateKey(int edition) {
return UPDATE_KEY + "/jSite/" + edition + "/jSite.properties";
}
/**
* {@inheritDoc}
*/
+ @Override
public void run() {
Connection connection = freenetInterface.getConnection("jSite-" + ++counter + "-UpdateChecker");
try {