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 2022/01/17 13:36:19 UTC

[logging-log4j2] branch master updated: Don't use deprecated code.

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 9bb5938  Don't use deprecated code.
9bb5938 is described below

commit 9bb59384ca0df2b1827cf745d333388be3e4e22b
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Jan 17 08:31:18 2022 -0500

    Don't use deprecated code.
---
 .../src/main/java/org/apache/log4j/builders/AbstractBuilder.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/log4j-1.2-api/src/main/java/org/apache/log4j/builders/AbstractBuilder.java b/log4j-1.2-api/src/main/java/org/apache/log4j/builders/AbstractBuilder.java
index ab8352b..ecd2181 100644
--- a/log4j-1.2-api/src/main/java/org/apache/log4j/builders/AbstractBuilder.java
+++ b/log4j-1.2-api/src/main/java/org/apache/log4j/builders/AbstractBuilder.java
@@ -127,7 +127,7 @@ public abstract class AbstractBuilder {
                 } else {
                     filterList.add(new FilterAdapter(f));
                 }
-                f = f.next;
+                f = f.getNext();
             }
             return CompositeFilter.createFilters(filterList.toArray(new org.apache.logging.log4j.core.Filter[0]));
         } else if (level != null) {