You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by "rzo1 (via GitHub)" <gi...@apache.org> on 2026/10/04 17:12:21 UTC
[PR] Minor: Use ArgumentChecks for the remaining inline null checks in runtime (opennlp)
rzo1 opened a new pull request, #1401:
URL: https://github.com/apache/opennlp/pull/1401
This replaces 65 hand-written null checks in 24 opennlp-runtime files with ArgumentChecks.requireNonNullArg. It only converts checks whose message is exactly "<name> must not be null", so the exception type and message stay the same and behavior does not change. Checks with other wording, combined conditions or Objects.requireNonNull are left as they are.
--
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: commits-unsubscribe@opennlp.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-1403: Use ArgumentChecks for the remaining inline null checks in runtime (opennlp)
Posted by "rzo1 (via GitHub)" <gi...@apache.org>.
rzo1 merged PR #1401:
URL: https://github.com/apache/opennlp/pull/1401
--
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: commits-unsubscribe@opennlp.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org