You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2018/02/02 12:07:19 UTC
[cxf] 02/02: [CXF-7630] Updating the test for Java7
This is an automated email from the ASF dual-hosted git repository.
sergeyb pushed a commit to branch 3.1.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
commit 3fe1fb5a31946ed2928718e473fc0a06c0d3368a
Author: Sergey Beryozkin <sb...@gmail.com>
AuthorDate: Fri Feb 2 12:07:01 2018 +0000
[CXF-7630] Updating the test for Java7
---
.../src/test/java/org/apache/cxf/systest/jaxrs/BookServer20.java | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/BookServer20.java b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/BookServer20.java
index b41c759..f850044 100644
--- a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/BookServer20.java
+++ b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/BookServer20.java
@@ -90,10 +90,12 @@ public class BookServer20 extends AbstractBusTestServerBase {
providers.add(new PreMatchContainerRequestFilter2());
providers.add(new PreMatchContainerRequestFilter());
providers.add(new PostMatchContainerResponseFilter());
- providers.add((Feature) context -> {
- context.register(new PostMatchContainerResponseFilter3());
+ providers.add(new Feature() {
+ public boolean configure(FeatureContext context) {
+ context.register(new PostMatchContainerResponseFilter3());
- return true;
+ return true;
+ }
});
providers.add(new PostMatchContainerResponseFilter2());
providers.add(new CustomReaderBoundInterceptor());
--
To stop receiving notification emails like this one, please contact
sergeyb@apache.org.