Skip to content

Commit 8d05a73

Browse files
JWT007jethomas-tsi
andauthored
Fixed AbstractFilterable#isFiltered javadoc (apache#3300) (apache#3456)
* Fixed AbstractFilterable#isFiltered javadoc (apache#3300) * Moved changelog to .2.x.x per PR Code Review (apache#3300) * Fixed AbstractFilterable#isFiltered javadoc (apache#3300) * Moved changelog to .2.x.x per PR Code Review (apache#3300) --------- Co-authored-by: Jeff Thomas <jeffrey.thomas@t-systems.com>
1 parent 1da1d7e commit 8d05a73

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

log4j-core/src/main/java/org/apache/logging/log4j/core/filter/AbstractFilterable.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ public boolean hasFilter() {
145145
/**
146146
* Determine if the LogEvent should be processed or ignored.
147147
* @param event The LogEvent.
148-
* @return true if the LogEvent should be processed.
148+
* @return {@code true} if the event is filtered and should be ignored; otherwise, {@code false} if
149+
* it should be processed
149150
*/
150151
@Override
151152
public boolean isFiltered(final LogEvent event) {
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<entry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xmlns="https://logging.apache.org/xml/ns"
4+
xsi:schemaLocation="https://logging.apache.org/xml/ns https://logging.apache.org/xml/ns/log4j-changelog-0.xsd"
5+
type="fixed">
6+
<issue id="3300" link="https://github.com/apache/logging-log4j2/issues/3300"/>
7+
<description format="asciidoc">
8+
Corrected @return javadoc for AbstractFilterable#isFiltered().
9+
</description>
10+
</entry>

0 commit comments

Comments
 (0)