cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: [CXF-6568] Renaming the property
Date Mon, 31 Aug 2015 08:53:47 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 088ede7b4 -> b70153679


[CXF-6568] Renaming the property


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/b7015367
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/b7015367
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/b7015367

Branch: refs/heads/3.0.x-fixes
Commit: b701536790cb15151b3105c412c0b12727ba03a5
Parents: 088ede7
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Mon Aug 31 09:51:29 2015 +0100
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Mon Aug 31 09:53:31 2015 +0100

----------------------------------------------------------------------
 .../org/apache/cxf/jaxrs/provider/ServerProviderFactory.java     | 2 +-
 .../java/org/apache/cxf/jaxrs/provider/ProviderFactoryTest.java  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/b7015367/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ServerProviderFactory.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ServerProviderFactory.java
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ServerProviderFactory.java
index b8a7789..bc1a69e 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ServerProviderFactory.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ServerProviderFactory.java
@@ -73,7 +73,7 @@ public final class ServerProviderFactory extends ProviderFactory {
                                                       WriterInterceptor.class));
     
     private static final String WADL_PROVIDER_NAME = "org.apache.cxf.jaxrs.model.wadl.WadlGenerator";
-    private static final String MAKE_DEFAULT_WAE_LEAST_SPECIFIC = "make.default.wae.least.specific";
+    private static final String MAKE_DEFAULT_WAE_LEAST_SPECIFIC = "default.wae.mapper.least.specific";
     private List<ProviderInfo<ExceptionMapper<?>>> exceptionMappers = 
         new ArrayList<ProviderInfo<ExceptionMapper<?>>>(1);
     

http://git-wip-us.apache.org/repos/asf/cxf/blob/b7015367/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/ProviderFactoryTest.java
----------------------------------------------------------------------
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 b9160eb..1dc45c4 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
@@ -375,7 +375,7 @@ public class ProviderFactoryTest extends Assert {
     @Test
     public void testExceptionMappersHierarchy3() throws Exception {
         Message m = new MessageImpl();
-        m.put("make.default.wae.least.specific", true);
+        m.put("default.wae.mapper.least.specific", true);
         ServerProviderFactory pf = ServerProviderFactory.getInstance();
         
         TestRuntimeExceptionMapper rm = new TestRuntimeExceptionMapper(); 
@@ -393,7 +393,7 @@ public class ProviderFactoryTest extends Assert {
     @Test
     public void testExceptionMappersHierarchy4() throws Exception {
         Message m = new MessageImpl();
-        m.put("make.default.wae.least.specific", true);
+        m.put("default.wae.mapper.least.specific", true);
         ServerProviderFactory pf = ServerProviderFactory.getInstance();
         ExceptionMapper<WebApplicationException> em = 
             pf.createExceptionMapper(WebApplicationException.class, m);


Mime
View raw message