diff --git a/fine-j2v8/src/main/java/com/eclipsesource/v8/LibraryLoader.java b/fine-j2v8/src/main/java/com/eclipsesource/v8/LibraryLoader.java index 4903e3c8d..7c9adf68e 100644 --- a/fine-j2v8/src/main/java/com/eclipsesource/v8/LibraryLoader.java +++ b/fine-j2v8/src/main/java/com/eclipsesource/v8/LibraryLoader.java @@ -207,8 +207,7 @@ class LibraryLoader { //低于指定版本,6.2以下 private static boolean belowMinimumVersion(String version) { - int i = compareVersion(version, MINIMUM_VERSION); - return i < 0; + return compareVersion(version, MINIMUM_VERSION) < 0; } private static int compareVersion(String version1, String version2) {