diff --git a/dubbo-common/src/main/java/com/alibaba/dubbo/common/utils/DubboAppender.java b/dubbo-common/src/main/java/com/alibaba/dubbo/common/utils/DubboAppender.java index 797e69da9e8..87ab12fda06 100644 --- a/dubbo-common/src/main/java/com/alibaba/dubbo/common/utils/DubboAppender.java +++ b/dubbo-common/src/main/java/com/alibaba/dubbo/common/utils/DubboAppender.java @@ -41,7 +41,7 @@ public static void clear() { public void append(LoggingEvent event) { super.append(event); - if (available == true) { + if (available) { Log temp = parseLog(event); logList.add(temp); } @@ -56,4 +56,4 @@ private Log parseLog(LoggingEvent event) { return log; } -} \ No newline at end of file +}