Skip to content

Commit

Permalink
refactor: inline usage of "file" local
Browse files Browse the repository at this point in the history
Co-authored-by: Karol Bucek <[email protected]>
  • Loading branch information
olleolleolle and kares committed Oct 23, 2022
1 parent 1626908 commit 3afc88f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ext/JarMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ public class JarMain implements Runnable {
throw new RuntimeException(e);
}

file = new File(uri.getPath());

archive = file.getAbsolutePath();
archive = new File(uri.getPath()).getAbsolutePath();

Runtime.getRuntime().addShutdownHook(new Thread(this));
}
Expand Down

0 comments on commit 3afc88f

Please sign in to comment.