X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fde%2Ftodesbaum%2Futil%2Fio%2FTempFileInputStream.java;h=43e2047d54c3cab2d29e65411138113bfbf83ed7;hb=953de352675a4ad91fe307d816a4ea7780c94274;hp=0cefd79c29428721b202d755a02658921a4bf165;hpb=6f1a8216cfba28add0ef365b46a08d16d4eb87fe;p=jSite.git diff --git a/src/de/todesbaum/util/io/TempFileInputStream.java b/src/de/todesbaum/util/io/TempFileInputStream.java index 0cefd79..43e2047 100644 --- a/src/de/todesbaum/util/io/TempFileInputStream.java +++ b/src/de/todesbaum/util/io/TempFileInputStream.java @@ -1,6 +1,5 @@ /* - * todesbaum-lib - - * Copyright (C) 2006 David Roden + * jSite - TempFileInputStream.java - Copyright © 2006–2012 David Roden * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -46,8 +45,10 @@ public class TempFileInputStream extends FileInputStream { */ public TempFileInputStream(File file) throws FileNotFoundException { super(file); + tempFile = file; } + @Override public void close() throws IOException { super.close(); tempFile.delete();