sszuev commented on PR #2528: URL: https://github.com/apache/jena/pull/2528#issuecomment-2157763206
maybe it is better instead of this: ``` interface OntClass { OntClass asSubClass(): {null|class} } ``` implement something like this: ``` interface OntClass { OntClass asSubClass(): {class|throws OntJenaException.Creation} boolean canAsSubClass() } ``` Can be done either in this PR or in the next one. After this, no new interface changes are expected. api should be stable. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: pr-unsubscr...@jena.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: pr-unsubscr...@jena.apache.org For additional commands, e-mail: pr-h...@jena.apache.org