From 9f3b8d11db6bf4aee948e5ec0dbc085e3981725e Mon Sep 17 00:00:00 2001 From: gojomo Date: Wed, 6 Apr 2011 20:51:14 +0000 Subject: [PATCH] * ReplayInputStream constructor comment about using destroy() --- commons/src/main/java/org/archive/io/ReplayInputStream.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/commons/src/main/java/org/archive/io/ReplayInputStream.java b/commons/src/main/java/org/archive/io/ReplayInputStream.java index d50d0067..8a743558 100644 --- a/commons/src/main/java/org/archive/io/ReplayInputStream.java +++ b/commons/src/main/java/org/archive/io/ReplayInputStream.java @@ -111,6 +111,10 @@ public class ReplayInputStream extends SeekInputStream * reading the entire stream (and possibly overflowing to a temporary * file). Primary reason for doing so would be to have a repositionable * version of the original stream's contents. + * + * If created via this constructor, use the destroy() method to ensure + * prompt deletion of any associated tmp file when done. + * * @param fillStream * @throws IOException */