more version support

This commit is contained in:
Grahame Grieve 2019-11-01 21:18:44 +11:00
parent a4137f0715
commit 399e86300d
1 changed files with 4 additions and 0 deletions

View File

@ -91,4 +91,8 @@ public class VersionUtilities {
return ver != null && ver.startsWith("1.0");
}
public static boolean versionsCompatible(String v1, String v2) {
return v1.substring(0, 3).equals(v2.substring(0, 3));
}
}