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