From 4d17728d6864eeccd37ed3b194f0699a9e9b1ce3 Mon Sep 17 00:00:00 2001 From: "Michael N. Lipp" Date: Mon, 10 Jun 2024 13:57:55 +0200 Subject: [PATCH] Fix javadoc. --- .../src/org/jgrapes/webconlet/oidclogin/TextCollector.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/org.jgrapes.webconlet.oidclogin/src/org/jgrapes/webconlet/oidclogin/TextCollector.java b/org.jgrapes.webconlet.oidclogin/src/org/jgrapes/webconlet/oidclogin/TextCollector.java index 9a820464..4b79fd5a 100644 --- a/org.jgrapes.webconlet.oidclogin/src/org/jgrapes/webconlet/oidclogin/TextCollector.java +++ b/org.jgrapes.webconlet.oidclogin/src/org/jgrapes/webconlet/oidclogin/TextCollector.java @@ -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) { @@ -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