From 95273a6c6751b8cb97d59a3304928a6328bc2c14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E5=B2=B3?= <445798420@qq.com> Date: Mon, 11 Jan 2021 17:19:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B4=A8=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/eclipsesource/v8/LibraryLoader.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) {