Skip to content

Commit

Permalink
Smell-fix: immediate return instead of assign to temporary variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bonigarcia committed Jan 17, 2021
1 parent 11ecd19 commit 1b9de14
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,7 @@ private List<File> extract(File compressedFile) throws IOException {
deleteFile(compressedFile);
}

List<File> result = postDownloadFunction.apply(compressedFile);

return result;
return postDownloadFunction.apply(compressedFile);
}

private void unZip(File compressedFile) throws IOException {
Expand Down

0 comments on commit 1b9de14

Please sign in to comment.