Skip to content

Commit

Permalink
Re-applied changed to consolidate targets, but the sha ones are not done
Browse files Browse the repository at this point in the history
  • Loading branch information
castortech committed Nov 13, 2021
1 parent 686ada3 commit 596b33c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ private boolean extractAndLoad(ArrayList<Throwable> errors, String customPath, S
if (STRATEGY_SHA1.equals(STRATEGY)) {
target = extractSha1(errors, resource, prefix, targetLibName, path);
} else {
File target = extract(errors, resource, prefix, targetLibName, path);
target = extractTemp(errors, resource, prefix, targetLibName, path);
}
if( target!=null ) {
if( load(errors, target) ) {
Expand Down Expand Up @@ -459,7 +459,7 @@ private File extractTemp(ArrayList<Throwable> errors, URL source, String prefix,
if (tempExtractDir == null) {
tempExtractDir = Files.createTempDirectory(directory.toPath(), prefix);
}

FileOutputStream os = null;
InputStream is = null;
try {
Expand Down

0 comments on commit 596b33c

Please sign in to comment.