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 369d6562f..4903e3c8d 100644 --- a/fine-j2v8/src/main/java/com/eclipsesource/v8/LibraryLoader.java +++ b/fine-j2v8/src/main/java/com/eclipsesource/v8/LibraryLoader.java @@ -208,11 +208,7 @@ class LibraryLoader { //低于指定版本,6.2以下 private static boolean belowMinimumVersion(String version) { int i = compareVersion(version, MINIMUM_VERSION); - if (i < 0) { - return true; - } else { - return false; - } + return i < 0; } private static int compareVersion(String version1, String version2) {