From 05a9f6c0bb9b3b8783de82a9f6e190452d2a24a0 Mon Sep 17 00:00:00 2001 From: oshai Date: Tue, 11 Jul 2023 00:20:15 +0300 Subject: [PATCH] remove null check --- .../main/java/org/apache/logging/slf4j/Log4jEventBuilder.java | 1 - 1 file changed, 1 deletion(-) diff --git a/log4j-slf4j2-impl/src/main/java/org/apache/logging/slf4j/Log4jEventBuilder.java b/log4j-slf4j2-impl/src/main/java/org/apache/logging/slf4j/Log4jEventBuilder.java index 6cef8e518a1d..33a5b8dca4db 100644 --- a/log4j-slf4j2-impl/src/main/java/org/apache/logging/slf4j/Log4jEventBuilder.java +++ b/log4j-slf4j2-impl/src/main/java/org/apache/logging/slf4j/Log4jEventBuilder.java @@ -112,7 +112,6 @@ public void log() { .withMarker(marker) .withThrowable(throwable); if (logBuilder instanceof BridgeAware) { - String fqcn = this.fqcn != null ? this.fqcn : FQCN; ((BridgeAware) logBuilder).setEntryPoint(fqcn); } if (keyValuePairs == null || keyValuePairs.isEmpty()) {