Fixed valueOf: check external only if value is not null

This commit is contained in:
Xavi Aracil 2022-12-20 13:08:28 +01:00
parent c4666c4913
commit 1e51ac3909

View File

@ -115,12 +115,12 @@ 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;
} }