Skip to content

Commit

Permalink
remove println
Browse files Browse the repository at this point in the history
  • Loading branch information
kevaundray committed Oct 8, 2024
1 parent 2ede8bc commit 21108b2
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ public class LibIpaMultipoint {
private static final Object libraryLock = new Object();

static {
System.out.println("Loding");
ensureLibraryLoaded();
System.out.println("Loaded");
}

/**
Expand Down Expand Up @@ -173,8 +171,7 @@ private static void loadNativeLibrary() {
String osName = System.getProperty("os.name").toLowerCase();
String osArch = getNormalizedArchitecture();
String libraryResourcePath = null;
System.out.println("name: " + osName + " arch:" + osArch + " platform: " + PLATFORM_NATIVE_LIBRARY_NAME);
System.out.println(LIBRARY_NAME +" "+ PLATFORM_NATIVE_LIBRARY_NAME + " " + System.mapLibraryName(LIBRARY_NAME));

if (osName.contains("win")) {
if (osArch.contains("x86_64")) {
libraryResourcePath = "/x86_64-pc-windows-gnu/" + PLATFORM_NATIVE_LIBRARY_NAME;
Expand All @@ -187,7 +184,6 @@ private static void loadNativeLibrary() {
if (osArch.contains("x86_64")) {
libraryResourcePath = "/x86_64-apple-darwin/" + PLATFORM_NATIVE_LIBRARY_NAME;
} else if (osArch.contains("aarch64")) {
System.out.println("MAC OS X found");
libraryResourcePath = "/aarch64-apple-darwin/" + PLATFORM_NATIVE_LIBRARY_NAME;
}
} else if (osName.contains("linux")) {
Expand All @@ -199,9 +195,9 @@ private static void loadNativeLibrary() {
}

if (libraryResourcePath == null) {
throw new UnsupportedOperationException("Unsupported OS or architecture: " + osName + ", " + osArch);
throw new UnsupportedOperationException("Unsupported OS or architecture: " + osName + ", " + osArch);
}
System.out.println(libraryResourcePath);

InputStream libraryResource = LibIpaMultipoint.class.getResourceAsStream(libraryResourcePath);

if (libraryResource == null) {
Expand Down

0 comments on commit 21108b2

Please sign in to comment.