Fixed valueOf: check external only if value is not null
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user