From 17fe2ad5260914ca122e280b09ffc2a7a6b76e7e Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 7 Apr 2006 11:56:30 +0000 Subject: [PATCH] version 0.4.2, delete temp file on close in TempFileInputStream --- src/de/todesbaum/jsite/main/Version.java | 4 ++-- src/de/todesbaum/util/io/TempFileInputStream.java | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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 { -- 2.7.4