version 0.4.2, delete temp file on close in TempFileInputStream 0.4.2
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Fri, 7 Apr 2006 11:56:30 +0000 (11:56 +0000)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Fri, 7 Apr 2006 11:56:30 +0000 (11:56 +0000)
src/de/todesbaum/jsite/main/Version.java
src/de/todesbaum/util/io/TempFileInputStream.java

index b0d6aef..c91b32c 100644 (file)
@@ -21,11 +21,11 @@ package de.todesbaum.jsite.main;
 
 /**
  * @author <a href="mailto:droden@gmail.com">David Roden </a>
- * @version $Id: Version.java 473 2006-04-06 17:59:57Z bombe $
+ * @version $Id$
  */
 public class Version {
 
-       private static final String VERSION = "0.4.1";
+       private static final String VERSION = "0.4.2";
 
        public static final String getVersion() {
                return VERSION;
index 0cefd79..ba86151 100644 (file)
@@ -46,6 +46,7 @@ public class TempFileInputStream extends FileInputStream {
         */
        public TempFileInputStream(File file) throws FileNotFoundException {
                super(file);
+               tempFile = file;
        }
 
        public void close() throws IOException {