Skip to content

Commit

Permalink
Fix NPE in enumeration switch statements (#1846)
Browse files Browse the repository at this point in the history
* Fix weird double if

* Add test for null doc status and preserving extension

* Add fix for null enum DocumentReference30_40

* Use java null instead of Enumeration.NULL for Enumeration src.setValue

* Apply null pointer check to all switch(Enumeration) statements
  • Loading branch information
dotasek authored Dec 9, 2024
1 parent ee3b6cd commit d350327
Show file tree
Hide file tree
Showing 610 changed files with 67,397 additions and 58,554 deletions.
7 changes: 7 additions & 0 deletions org.hl7.fhir.convertors/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
<artifactId>xpp3</artifactId>
<optional>true</optional>
</dependency>

<!-- HTTP Client -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
Expand Down Expand Up @@ -120,6 +121,12 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
Expand Down
Loading

0 comments on commit d350327

Please sign in to comment.