Skip to content

Commit

Permalink
Fix temp path construction
Browse files Browse the repository at this point in the history
java.io.tmpdir is meant to be the default path if aircompressor.tmpdir
is not specified. The parentheses were misplaced.
  • Loading branch information
martint committed Jul 3, 2024
1 parent 9171a9c commit f1f65a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

public final class NativeLoader
{
private static final File TEMP_DIR = new File(System.getProperty("aircompressor.tmpdir"), System.getProperty("java.io.tmpdir"));
private static final File TEMP_DIR = new File(System.getProperty("aircompressor.tmpdir", System.getProperty("java.io.tmpdir")));
private static final MethodHandle LINKAGE_ERROR_CONSTRUCTOR;

static {
Expand Down

0 comments on commit f1f65a8

Please sign in to comment.