Remove throwing NPE on Term.symbol() given updated NotNull contract
This commit is contained in:
parent
2ec4abe860
commit
6f49d63fae
|
|
@ -147,7 +147,7 @@ class ClassicTermTrie<T> : TermTrie<T> {
|
|||
WILDCARD
|
||||
|
||||
} else {
|
||||
term.symbol() ?: throw NullPointerException("term symbol can't be null")
|
||||
term.symbol()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue