You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2024/10/08 22:02:19 UTC
(logging-log4j2) branch 2.x updated: Fix Javadoc
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/2.x by this push:
new c055b45b94 Fix Javadoc
c055b45b94 is described below
commit c055b45b948b7bf425d6931e295a4e02c245ccbd
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Oct 8 18:02:14 2024 -0400
Fix Javadoc
Fix Javadoc for method
org.apache.logging.log4j.core.filter.StringMatchFilter.Builder.setMatchString(String)
---
.../org/apache/logging/log4j/core/filter/StringMatchFilter.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/filter/StringMatchFilter.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/filter/StringMatchFilter.java
index 8d1d3e47fe..96a91c1830 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/filter/StringMatchFilter.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/filter/StringMatchFilter.java
@@ -239,9 +239,9 @@ public final class StringMatchFilter extends AbstractFilter {
private String text = "";
/**
- * Sets the logging level to use.
- * @param text the logging level to use
- * @return this
+ * Sets the text to search in event messages.
+ * @param text the text to search in event messages.
+ * @return this instance.
*/
public StringMatchFilter.Builder setMatchString(final String text) {
this.text = text;