krickert commented on code in PR #1151:
URL: https://github.com/apache/opennlp/pull/1151#discussion_r3564869773
##########
opennlp-api/src/main/java/opennlp/tools/util/normalizer/CharSequenceNormalizer.java:
##########
@@ -29,8 +29,11 @@ public interface CharSequenceNormalizer extends Serializable
{
/**
* Normalizes a sequence of characters.
*
- * @param text The {@link CharSequence} to normalize.
+ * @param text The {@link CharSequence} to normalize. Must not be {@code
null}.
* @return The normalized {@link CharSequence}.
+ * @throws IllegalArgumentException Thrown if {@code text} is {@code null}.
Implementations
Review Comment:
Aligned all of it; the "predating this contract" sentence is gone and the
contract is unconditional.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]