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/04/17 23:00:14 UTC
(logging-log4j2) branch 2.x updated: Fix errorprone warning
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 9fb29ab761 Fix errorprone warning
9fb29ab761 is described below
commit 9fb29ab761ac0cccf155aa0acd30724132fc8f5c
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Apr 17 19:00:08 2024 -0400
Fix errorprone warning
---
.../test/java/org/apache/logging/log4j/mongodb4/MongoDb4Resolver.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/log4j-mongodb4/src/test/java/org/apache/logging/log4j/mongodb4/MongoDb4Resolver.java b/log4j-mongodb4/src/test/java/org/apache/logging/log4j/mongodb4/MongoDb4Resolver.java
index b52347c6e8..fe4a4c18a2 100644
--- a/log4j-mongodb4/src/test/java/org/apache/logging/log4j/mongodb4/MongoDb4Resolver.java
+++ b/log4j-mongodb4/src/test/java/org/apache/logging/log4j/mongodb4/MongoDb4Resolver.java
@@ -183,7 +183,7 @@ public class MongoDb4Resolver extends TypeBasedParameterResolver<MongoClient> im
// noop
}
- protected String stripLineEndings(String line) {
+ String stripLineEndings(String line) {
// we still need to remove line endings that are passed on by
// StreamToLineProcessor...
return line.replaceAll("[\n\r]+", "");