This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch 3.5.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/3.5.x-fixes by this push:
new 758b1bf33c Fixing post-cherrypick build issues (related to CXF-8699)
758b1bf33c is described below
commit 758b1bf33c3629dc2da659969430de91b045cd7f
Author: Andriy Redko <[email protected]>
AuthorDate: Mon May 9 13:59:57 2022 -0400
Fixing post-cherrypick build issues (related to CXF-8699)
---
.../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()));
}