Skip to content

Commit

Permalink
Fix javadoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
mnlipp committed Jun 10, 2024
1 parent fed2122 commit 4d17728
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public TextCollector nativeCharset() {
* Configures the maximum length of the collected text. Input
* exceeding this size will be discarded.
*
* @param consumer the consumer
* @param maximumLength the maximum length
* @return the maximum size
*/
public TextCollector maximumSize(int maximumLength) {
Expand All @@ -100,9 +100,8 @@ public TextCollector maximumSize(int maximumLength) {
}

/**
* Configures a consumer for lines. The consumer is invoked when
* a complete line has been detected. If a consumer is configured,
* {@link #getLine()} may not be used (always returns `null`).
* Configures a consumer for the collected text. The consumer
* is invoked once when the complete text is available.
*
* @param consumer the consumer
* @return the line collector
Expand Down

0 comments on commit 4d17728

Please sign in to comment.