This is an automated email from the ASF dual-hosted git repository. reta pushed a commit to branch 3.4.x-fixes in repository https://gitbox.apache.org/repos/asf/cxf.git
commit 908e4346f5cc65be16391ebc389f1bdf6116df20 Author: Andriy Redko <[email protected]> AuthorDate: Mon May 9 13:59:57 2022 -0400 Fixing post-cherrypick build issues (related to CXF-8699) (cherry picked from commit 758b1bf33c3629dc2da659969430de91b045cd7f) --- .../src/main/java/org/apache/cxf/ext/logging/osgi/Activator.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/osgi/Activator.java b/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/osgi/Activator.java index 6084bd7978..b18db196ab 100644 --- a/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/osgi/Activator.java +++ b/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/osgi/Activator.java @@ -37,8 +37,6 @@ import org.osgi.service.cm.ManagedService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import static java.util.function.Predicate.not; - public class Activator implements BundleActivator { private static final Logger LOG = LoggerFactory.getLogger(Activator.class); private static final String CONFIG_PID = "org.apache.cxf.features.logging"; @@ -133,7 +131,7 @@ public class Activator implements BundleActivator { return new HashSet<>( Arrays.stream(String.valueOf(getValue(config, propertyKey, "")).split(",")) .map(String::trim) - .filter(not(String::isEmpty)) + .filter(s -> !s.isEmpty()) .collect(Collectors.toSet())); }
