version 0.4.8.1: set maxRetries to -1 0.4.8.1
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Wed, 16 Aug 2006 20:30:34 +0000 (20:30 +0000)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Wed, 16 Aug 2006 20:30:34 +0000 (20:30 +0000)
src/de/todesbaum/jsite/application/ProjectInserter.java
src/de/todesbaum/jsite/main/Version.java

index 0fcddcc..b51dd0c 100644 (file)
@@ -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) {
index d4e36c9..9f02248 100644 (file)
@@ -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;