fix for NPE in FHIRPath parser
This commit is contained in:
parent
82125235a0
commit
59b0f032cb
|
@ -71,7 +71,7 @@ public class FHIRLexer {
|
|||
private String name;
|
||||
|
||||
public FHIRLexer(String source, String name) throws FHIRLexerException {
|
||||
this.source = source;
|
||||
this.source = source == null ? "" : source;
|
||||
this.name = name == null ? "??" : name;
|
||||
currentLocation = new SourceLocation(1, 1);
|
||||
next();
|
||||
|
|
Loading…
Reference in New Issue