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