You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2018/01/05 15:42:04 UTC
[cxf] 01/02: Remove unneeded parens
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 <dk...@apache.org>
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
"commits@cxf.apache.org" <co...@cxf.apache.org>.