cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject [2/2] git commit: [CXF-5717] Checking registered Param converters
Date Wed, 30 Apr 2014 11:08:58 GMT
[CXF-5717] Checking registered Param converters


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

Branch: refs/heads/2.7.x-fixes
Commit: 48f3aea57bafaa70abfa94411e81a374e58b5abe
Parents: 87c8b08
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Wed Apr 30 12:08:37 2014 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Wed Apr 30 12:08:37 2014 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/48f3aea5/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java
index 9a5600f..52fc9ad 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java
@@ -1254,7 +1254,7 @@ public final class InjectionUtils {
     public static Object convertStringToPrimitive(String value, Class<?> cls, Annotation[]
anns) {
         Message m = JAXRSUtils.getCurrentMessage();
         if (m != null) {
-            ParamConverter<?> pc = ServerProviderFactory.getInstance(m).createParameterHandler(cls,
anns);
+            ParamConverter<?> pc = ProviderFactory.getInstance(m).createParameterHandler(cls,
anns);
             if (pc != null) {
                 return pc.fromString(value);
             }


Mime
View raw message