Browse Source

代码质量

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

6
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) {

Loading…
Cancel
Save