diff --git a/hapi-fhir-cli/hapi-fhir-cli-api/src/main/java/ca/uhn/fhir/cli/BaseApp.java b/hapi-fhir-cli/hapi-fhir-cli-api/src/main/java/ca/uhn/fhir/cli/BaseApp.java index e051d51603c..9300211a49a 100755 --- a/hapi-fhir-cli/hapi-fhir-cli-api/src/main/java/ca/uhn/fhir/cli/BaseApp.java +++ b/hapi-fhir-cli/hapi-fhir-cli-api/src/main/java/ca/uhn/fhir/cli/BaseApp.java @@ -41,6 +41,7 @@ import java.util.List; import static org.fusesource.jansi.Ansi.ansi; +@SuppressWarnings("WeakerAccess") public abstract class BaseApp { private static final String STACKFILTER_PATTERN = "%xEx{full, sun.reflect, org.junit, org.eclipse, java.lang.reflect.Method, org.springframework, org.hibernate, com.sun.proxy, org.attoparser, org.thymeleaf}"; private static final String STACKFILTER_PATTERN_PROP = "log.stackfilter.pattern"; @@ -145,7 +146,7 @@ public abstract class BaseApp { protected abstract String provideCommandName(); - public List provideCommands() { + protected List provideCommands() { ArrayList commands = new ArrayList<>(); commands.add(new RunServerCommand()); commands.add(new ExampleDataUploader()); diff --git a/hapi-fhir-structures-r4/src/main/java/org/hl7/fhir/r4/elementmodel/Element.java b/hapi-fhir-structures-r4/src/main/java/org/hl7/fhir/r4/elementmodel/Element.java index 12f6376433b..af3383effcd 100644 --- a/hapi-fhir-structures-r4/src/main/java/org/hl7/fhir/r4/elementmodel/Element.java +++ b/hapi-fhir-structures-r4/src/main/java/org/hl7/fhir/r4/elementmodel/Element.java @@ -495,7 +495,7 @@ public class Element extends Base { setUserData("fhir.decorations", decorations); } decorations.add(new ElementDecoration(DecorationType.TYPE, profile.getUserString("path"), definition.getPath())); - if (tail(definition.getId()).contains(":")) { + if (definition.getId() != null && tail(definition.getId()).contains(":")) { String[] details = tail(definition.getId()).split("\\:"); decorations.add(new ElementDecoration(DecorationType.SLICE, null, details[1])); } diff --git a/pom.xml b/pom.xml index 384e27cf290..404253a1ae6 100755 --- a/pom.xml +++ b/pom.xml @@ -503,6 +503,9 @@ Ricardo Estevez Cambia Health Solutions + + zilin375 + @@ -546,7 +549,7 @@ 5.4.1.Final - 5.11.0.Final + 5.11.1.Final 5.5.5 5.4.1.Final 4.4.6 diff --git a/src/changes/changes.xml b/src/changes/changes.xml index de5f6508cc1..2c9c50ac07b 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -9,8 +9,8 @@ HAPI FHIR is now built using OpenJDK 11. Users are recommended to upgrade to this version - of Java if this is feasible. We are not yet dropping support for Java 8 (aka 1.8), although - we may do so in an upcoming release. + of Java if this is feasible. We are not yet dropping support for Java 8 (aka 1.8), but + users are recommended to upgrade if possible. The version of a few dependencies have been bumped to the @@ -20,7 +20,7 @@
  • Spring (JPA): 5.0.8.RELEASE -> 5.1.3.RELEASE
  • Spring-Data (JPA): 2.0.7.RELEASE -> 2.1.3.RELEASE
  • Hibernate-Core (JPA): 5.3.6.FINAL -> 5.4.1.FINAL
  • -
  • Hibernate-Search (JPA): 5.10.3.FINAL -> 5.11.0.FINAL
  • +
  • Hibernate-Search (JPA): 5.10.3.FINAL -> 5.11.1.FINAL
  • Thymeleaf (JPA): 3.0.9.RELEASE -> 3.0.11.RELEASE
  • thymeleaf-spring4 (Testpage Overlay) has been replaced with thymeleaf-spring5
  • Commons-Lang3: 3.8 -> 3.8.1
  • @@ -352,6 +352,10 @@ The HAPI FHIR tutorial server project had outdated versions of HAPI FHIR in its pom file. Thanks to Ricardo Estevez for the pull request!
    + + A NullPointerException during validation was fixed. Thanks to GitHub + user zilin375 for the pull request! +