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-6630] Fixing a typo with thanks to Jan Vondrouš
Date Thu, 08 Oct 2015 09:18:39 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes a50767301 -> 73a883187


[CXF-6630] Fixing a typo with thanks to Jan Vondrouš


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

Branch: refs/heads/3.0.x-fixes
Commit: 73a88318703d3a1f7709508bbb84502d25af3118
Parents: a507673
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Thu Oct 8 10:17:10 2015 +0100
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Thu Oct 8 10:17:58 2015 +0100

----------------------------------------------------------------------
 .../org/apache/cxf/jaxrs/provider/RequestDispatcherProvider.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/73a88318/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/RequestDispatcherProvider.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/RequestDispatcherProvider.java
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/RequestDispatcherProvider.java
index 09a673b..4742d54 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/RequestDispatcherProvider.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/RequestDispatcherProvider.java
@@ -352,7 +352,7 @@ public class RequestDispatcherProvider extends AbstractConfigurableProvider
         }
         String name = beanNames.get(bean.getClass().getName());
         if (name != null) {
-            return null;
+            return name;
         } 
         Class<?> resourceClass = bean.getClass();
         if (useClassNames && doGetClassResourceName(resourceClass) == null) {


Mime
View raw message