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 2021/12/23 15:19:35 UTC

[logging-log4j2] branch release-2.x updated: Use constant.

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch release-2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/release-2.x by this push:
     new 4ff22d2  Use constant.
     new c251284  Merge branch 'release-2.x' of https://gitbox.apache.org/repos/asf/logging-log4j2.git into release-2.x
4ff22d2 is described below

commit 4ff22d25685e30e215a04cae66126573e10a7dc6
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Dec 23 10:18:58 2021 -0500

    Use constant.
---
 .../src/test/java/org/apache/log4j/config/ZeroFilterFixture.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/log4j-1.2-api/src/test/java/org/apache/log4j/config/ZeroFilterFixture.java b/log4j-1.2-api/src/test/java/org/apache/log4j/config/ZeroFilterFixture.java
index e527a73..64eead9 100644
--- a/log4j-1.2-api/src/test/java/org/apache/log4j/config/ZeroFilterFixture.java
+++ b/log4j-1.2-api/src/test/java/org/apache/log4j/config/ZeroFilterFixture.java
@@ -26,7 +26,7 @@ public class ZeroFilterFixture extends Filter {
 
     @Override
     public int decide(LoggingEvent event) {
-        return 0;
+        return NEUTRAL;
     }
 
 }