Browse Source

代码质量

release/10.0
白岳 4 years ago
parent
commit
95273a6c67
  1. 3
      fine-j2v8/src/main/java/com/eclipsesource/v8/LibraryLoader.java

3
fine-j2v8/src/main/java/com/eclipsesource/v8/LibraryLoader.java

@ -207,8 +207,7 @@ class LibraryLoader {
//低于指定版本,6.2以下 //低于指定版本,6.2以下
private static boolean belowMinimumVersion(String version) { private static boolean belowMinimumVersion(String version) {
int i = compareVersion(version, MINIMUM_VERSION); return compareVersion(version, MINIMUM_VERSION) < 0;
return i < 0;
} }
private static int compareVersion(String version1, String version2) { private static int compareVersion(String version1, String version2) {

Loading…
Cancel
Save