This is an automated email from the ASF dual-hosted git repository. dkulp pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cxf.git
commit 2cbcb539494120034bd7184601465f41d4230747 Author: Daniel Kulp <[email protected]> AuthorDate: Fri Jan 5 08:01:04 2018 -0500 Remove unneeded parens --- .../test/java/org/apache/cxf/jaxrs/provider/ProviderFactoryTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/ProviderFactoryTest.java b/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/ProviderFactoryTest.java index c3756a7..48e5aca 100644 --- a/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/ProviderFactoryTest.java +++ b/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/ProviderFactoryTest.java @@ -95,7 +95,7 @@ public class ProviderFactoryTest extends Assert { public void testRegisterInFeature() { ServerProviderFactory pf = ServerProviderFactory.getInstance(); final Object provider = new WebApplicationExceptionMapper(); - pf.registerUserProvider((Feature)(context) -> { + pf.registerUserProvider((Feature) context -> { context.register(provider); return true; }); @@ -108,7 +108,7 @@ public class ProviderFactoryTest extends Assert { public void testRegisterFeatureInFeature() { ServerProviderFactory pf = ServerProviderFactory.getInstance(); final Object provider = new WebApplicationExceptionMapper(); - pf.registerUserProvider((Feature)(context) -> { + pf.registerUserProvider((Feature) context -> { context.register((Feature) context2-> { context2.register(provider); return true; -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
