Removed redundant code
This commit is contained in:
parent
009028624e
commit
aef34d30da
1 changed files with 2 additions and 2 deletions
|
@ -374,12 +374,12 @@ public class ModUtil {
|
||||||
URI uri = URI.create("jar:" + file.toUri());
|
URI uri = URI.create("jar:" + file.toUri());
|
||||||
|
|
||||||
FileSystem fs;
|
FileSystem fs;
|
||||||
boolean doClose = false;
|
// boolean doClose = false;
|
||||||
try {
|
try {
|
||||||
fs = FileSystems.getFileSystem(uri);
|
fs = FileSystems.getFileSystem(uri);
|
||||||
}
|
}
|
||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
doClose = true;
|
// doClose = true;
|
||||||
fs = FileSystems.newFileSystem(file);
|
fs = FileSystems.newFileSystem(file);
|
||||||
}
|
}
|
||||||
if (fs != null) {
|
if (fs != null) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue