mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-06 19:39:27 +00:00
fix npe appending slashes
This commit is contained in:
parent
2891aae9b1
commit
5d29a88552
@ -477,6 +477,9 @@ public class Utilities {
|
||||
}
|
||||
|
||||
public static String appendForwardSlash(String definitions) {
|
||||
if (definitions == null) {
|
||||
return "/";
|
||||
}
|
||||
return definitions.endsWith("/") ? definitions : definitions + "/";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user