Skip to content

Commit

Permalink
Removed redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
quiqueck committed Feb 4, 2022
1 parent 0090286 commit aef34d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/ru/bclib/util/ModUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -374,12 +374,12 @@ private static void accept(Path file) {
URI uri = URI.create("jar:" + file.toUri());

FileSystem fs;
boolean doClose = false;
// boolean doClose = false;
try {
fs = FileSystems.getFileSystem(uri);
}
catch (Exception e) {
doClose = true;
// doClose = true;
fs = FileSystems.newFileSystem(file);
}
if (fs != null) {
Expand Down

0 comments on commit aef34d3

Please sign in to comment.