File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
snaploader/src/main/java/electrostatic4j/snaploader/filesystem Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3434
3535import electrostatic4j .snaploader .throwable .FilesystemResourceInitializationException ;
3636import electrostatic4j .snaploader .util .SnapLoaderLogger ;
37-
3837import java .io .*;
3938import java .util .logging .Level ;
4039
@@ -72,9 +71,8 @@ public class FileExtractor implements OutputStreamProvider {
7271 *
7372 * @param fileLocator locates a filesystem inside a zip compression
7473 * @param destination an absolute filesystem path representing the extraction destination filesystem
75- * @throws FileNotFoundException if the destination filesystem path is not found
7674 */
77- public FileExtractor (FileLocator fileLocator , String destination ) throws FileNotFoundException {
75+ public FileExtractor (FileLocator fileLocator , String destination ) {
7876 this .fileLocator = fileLocator ;
7977 this .destination = destination ;
8078 }
@@ -90,6 +88,8 @@ public void initialize(int size) throws Exception {
9088 // 1) sanity-check for double initializing
9189 // 2) sanity-check for pre-initialization using other routines
9290 if (this .fileOutputStream != null ) {
91+ SnapLoaderLogger .log (Level .INFO , getClass ().getName (), "initialize(int)" ,
92+ "File extractor already initialized using external routines with hash key #" + getHashKey ());
9393 return ;
9494 }
9595 try {
You can’t perform that action at this time.
0 commit comments