From: David ‘Bombe’ Roden Date: Wed, 16 Aug 2006 20:30:34 +0000 (+0000) Subject: version 0.4.8.1: set maxRetries to -1 X-Git-Tag: 0.4.8.1 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=8cc524061375237e2f5c01cfe605e3e74d50d785;p=jSite.git version 0.4.8.1: set maxRetries to -1 --- diff --git a/src/de/todesbaum/jsite/application/ProjectInserter.java b/src/de/todesbaum/jsite/application/ProjectInserter.java index 0fcddcc..b51dd0c 100644 --- a/src/de/todesbaum/jsite/application/ProjectInserter.java +++ b/src/de/todesbaum/jsite/application/ProjectInserter.java @@ -59,7 +59,6 @@ public class ProjectInserter implements FileScannerListener, Runnable { protected Project project; private FileScanner fileScanner; protected final Object lockObject = new Object(); - private int maxRetries = 99999; public void addInsertListener(InsertListener insertListener) { insertListeners.add(insertListener); @@ -117,14 +116,6 @@ public class ProjectInserter implements FileScannerListener, Runnable { this.freenetInterface = freenetInterface; } - /** - * @param maxRetries - * The maxRetries to set. - */ - public void setMaxRetries(int maxRetries) { - this.maxRetries = maxRetries; - } - public void start() { fileScanner = new FileScanner(project); fileScanner.addFileScannerListener(this); @@ -271,7 +262,7 @@ public class ProjectInserter implements FileScannerListener, Runnable { ClientPutComplexDir putDir = new ClientPutComplexDir("dir-" + counter++, dirURI); putDir.setDefaultName(project.getIndexFile()); putDir.setVerbosity(Verbosity.ALL); - putDir.setMaxRetries(maxRetries); + putDir.setMaxRetries(-1); for (String filename: files) { FileEntry fileEntry = createFileEntry(filename, edition, containerFiles); if (fileEntry != null) { diff --git a/src/de/todesbaum/jsite/main/Version.java b/src/de/todesbaum/jsite/main/Version.java index d4e36c9..9f02248 100644 --- a/src/de/todesbaum/jsite/main/Version.java +++ b/src/de/todesbaum/jsite/main/Version.java @@ -25,7 +25,7 @@ package de.todesbaum.jsite.main; */ public class Version { - private static final String VERSION = "0.4.8"; + private static final String VERSION = "0.4.8.1"; public static final String getVersion() { return VERSION;