fix for use of "current" as version

This commit is contained in:
Grahame Grieve 2020-09-22 22:01:37 +10:00
parent 5ada654ca2
commit 6fb4610b5f

View File

@ -181,6 +181,10 @@ public class VersionUtilities {
public static String getMajMin(String version) {
if (version == null)
return null;
if ("current".equals(version)) {
return CURRENT_VERSION;
}
if (Utilities.charCount(version, '.') == 1) {
String[] p = version.split("\\.");