mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-01 17:09:08 +00:00
fix for use of "current" as version
This commit is contained in:
parent
5ada654ca2
commit
6fb4610b5f
@ -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("\\.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user