Fixed valueOf: check external only if value is not null
This commit is contained in:
parent
c4666c4913
commit
1e51ac3909
@ -115,12 +115,12 @@ public class Assertion extends Credential {
|
||||
return found;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// check external type
|
||||
if (validateIri(typeNode)) {
|
||||
return External;
|
||||
}
|
||||
// check external type
|
||||
if (validateIri(typeNode)) {
|
||||
return External;
|
||||
}
|
||||
}
|
||||
|
||||
return Unknown;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user