From: David ‘Bombe’ Roden Date: Fri, 7 Apr 2006 11:56:30 +0000 (+0000) Subject: version 0.4.2, delete temp file on close in TempFileInputStream X-Git-Tag: 0.4.2 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=17fe2ad5260914ca122e280b09ffc2a7a6b76e7e;p=jSite.git version 0.4.2, delete temp file on close in TempFileInputStream --- diff --git a/src/de/todesbaum/jsite/main/Version.java b/src/de/todesbaum/jsite/main/Version.java index b0d6aef..c91b32c 100644 --- a/src/de/todesbaum/jsite/main/Version.java +++ b/src/de/todesbaum/jsite/main/Version.java @@ -21,11 +21,11 @@ package de.todesbaum.jsite.main; /** * @author David Roden - * @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; diff --git a/src/de/todesbaum/util/io/TempFileInputStream.java b/src/de/todesbaum/util/io/TempFileInputStream.java index 0cefd79..ba86151 100644 --- a/src/de/todesbaum/util/io/TempFileInputStream.java +++ b/src/de/todesbaum/util/io/TempFileInputStream.java @@ -46,6 +46,7 @@ public class TempFileInputStream extends FileInputStream { */ public TempFileInputStream(File file) throws FileNotFoundException { super(file); + tempFile = file; } public void close() throws IOException {