forked from I2P_Developers/i2p.i2p
propagate from branch 'i2p.i2p.tuna.tmp' (head 1bba286bdb7f8ba879c4db3f356676151674a201)
to branch 'i2p.i2p' (head 5698b31632398b8156a3b4cc215fed677cf205bf)
This commit is contained in:
@ -973,8 +973,9 @@ public class ConsoleUpdateManager implements UpdateManager, RouterApp {
|
||||
* @param t may be null
|
||||
*/
|
||||
public void notifyTaskFailed(UpdateTask task, String reason, Throwable t) {
|
||||
if (_log.shouldLog(Log.ERROR))
|
||||
_log.error("Failed " + task + " for " + task.getType() + ": " + reason, t);
|
||||
int level = task.getType() == TYPE_DUMMY ? Log.WARN : Log.ERROR;
|
||||
if (_log.shouldLog(level))
|
||||
_log.log(level, "Failed " + task + " for " + task.getType() + ": " + reason, t);
|
||||
List<RegisteredUpdater> toTry = _downloaders.get(task);
|
||||
if (toTry != null) {
|
||||
UpdateItem ui = new UpdateItem(task.getType(), task.getID());
|
||||
|
@ -27,6 +27,7 @@ public class ConfigNavHelper extends HelperBase {
|
||||
_x("Clients"), _x("Peers"), _x("Keyring"), _x("Logging"), _x("Stats"),
|
||||
_x("Reseeding"), _x("Advanced") };
|
||||
|
||||
/** @since 0.9.19 */
|
||||
private static class Tab {
|
||||
public final String page, title;
|
||||
public Tab(String p, String t) {
|
||||
@ -34,6 +35,7 @@ public class ConfigNavHelper extends HelperBase {
|
||||
}
|
||||
}
|
||||
|
||||
/** @since 0.9.19 */
|
||||
private class TabComparator implements Comparator<Tab> {
|
||||
private static final long serialVersionUID = 1L;
|
||||
private final Collator coll;
|
||||
|
@ -86,6 +86,7 @@ public class ConfigUIHelper extends HelperBase {
|
||||
{ "hu", "hu", _x("Hungarian"), null },
|
||||
{ "it", "it", _x("Italian"), null },
|
||||
{ "ja", "jp", _x("Japanese"), null },
|
||||
{ "mg", "mg", _x("Malagasy"), null },
|
||||
{ "nl", "nl", _x("Dutch"), null },
|
||||
{ "nb", "no", _x("Norwegian Bokmaal"), null },
|
||||
{ "pl", "pl", _x("Polish"), null },
|
||||
|
@ -69,7 +69,7 @@ public class ConfigUpdateHandler extends FormHandler {
|
||||
private static final String PACK200_URLS =
|
||||
"http://echelon.i2p/i2p/i2pupdate.su2\r\n" +
|
||||
"http://inr.i2p/i2p/i2pupdate.su2\r\n" +
|
||||
"http://meeh.i2p/i2pupdate/i2pupdate.su2\r\n" +
|
||||
//"http://meeh.i2p/i2pupdate/i2pupdate.su2\r\n" +
|
||||
"http://stats.i2p/i2p/i2pupdate.su2\r\n" +
|
||||
// "http://www.i2p2.i2p/_static/i2pupdate.su2\r\n" +
|
||||
"http://update.dg.i2p/files/i2pupdate.su2\r\n" +
|
||||
@ -79,7 +79,7 @@ public class ConfigUpdateHandler extends FormHandler {
|
||||
private static final String NO_PACK200_URLS =
|
||||
"http://echelon.i2p/i2p/i2pupdate.sud\r\n" +
|
||||
"http://inr.i2p/i2p/i2pupdate.sud\r\n" +
|
||||
"http://meeh.i2p/i2pupdate/i2pupdate.sud\r\n" +
|
||||
//"http://meeh.i2p/i2pupdate/i2pupdate.sud\r\n" +
|
||||
"http://stats.i2p/i2p/i2pupdate.sud\r\n" +
|
||||
// "http://www.i2p2.i2p/_static/i2pupdate.sud\r\n" +
|
||||
"http://update.dg.i2p/files/i2pupdate.sud\r\n" +
|
||||
@ -113,7 +113,7 @@ public class ConfigUpdateHandler extends FormHandler {
|
||||
private static final String DEFAULT_SU3_UPDATE_URLS =
|
||||
"http://echelon.i2p/i2p/i2pupdate.su3\r\n" +
|
||||
"http://inr.i2p/i2p/i2pupdate.su3\r\n" +
|
||||
"http://meeh.i2p/i2pupdate/i2pupdate.su3\r\n" +
|
||||
//"http://meeh.i2p/i2pupdate/i2pupdate.su3\r\n" +
|
||||
"http://stats.i2p/i2p/i2pupdate.su3\r\n" +
|
||||
// "http://www.i2p2.i2p/_static/i2pupdate.su3\r\n" +
|
||||
"http://update.dg.i2p/files/i2pupdate.su3\r\n" +
|
||||
|
Reference in New Issue
Block a user