-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
beta
-
generic
-
generic
Name: mlR10151 Date: 03/22/2001
The constructor for the FileCacheImageOutputStream class has the following description:
>public FileCacheImageOutputStream(OutputStream stream,
> File cacheDir)
> throws IOException
>
> Constructs a FileCacheImageOutputStream that will write to a given outputStream.
>
> A temporary file is used as a cache. If cacheDiris non-null and is a directory, the file will be
> created there. If it is null, the system-dependent default temporary-file directory will be used
> (see the documentation for File.createTempFile for details).
> Parameters:
> stream - an OutputStream to write to.
> cacheDir - a File indicating where the cache file should be created, or null to use the
system
> directory.
> Throws:
> IllegalArgumentException - if stream or cacheFile is null.
... ^^^^^^^^^^^^
But there is no parameter cacheFile, and the cacheDir parameter can be null legally,
so "or cacheFile" must be removed.
======================================================================