mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-02 01:19:14 +00:00
fix NPE building CCDA
This commit is contained in:
parent
d0b4a1c247
commit
c053f08a13
@ -304,7 +304,7 @@ public class VersionUtilities {
|
||||
public static boolean isMajMinOrLaterPatch(String test, String current) {
|
||||
String t = getMajMin(test);
|
||||
String c = getMajMin(current);
|
||||
if (c != null && c.compareTo(t) == 0) {
|
||||
if (c != null && t != null && c.compareTo(t) == 0) {
|
||||
String pt = getPatch(test);
|
||||
String pc = getPatch(current);
|
||||
if (pt==null || "x".equals(pt)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user