Skip to content

Commit

Permalink
Fix[library]: wrong local var name
Browse files Browse the repository at this point in the history
  • Loading branch information
artdeell authored Sep 17, 2023
1 parent 22eec5d commit 27294f6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ public static SharedLibrary loadNative(Class<?> context, String module, @Nullabl
}
}

public static SharedLibrary createFromHandle(String libraryName, long handle) {
public static SharedLibrary createFromHandle(String name, long handle) {
switch (Platform.get()) {
case WINDOWS:
return new WindowsLibrary(name, handle);
Expand Down Expand Up @@ -636,4 +636,4 @@ private static byte[] getSHA1(Path libFile) throws NoSuchAlgorithmException, IOE
return digest.digest();
}

}
}

0 comments on commit 27294f6

Please sign in to comment.