cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1478711 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java
Date Fri, 03 May 2013 10:10:50 GMT
Author: sergeyb
Date: Fri May  3 10:10:49 2013
New Revision: 1478711

URL: http://svn.apache.org/r1478711
Log:
Adding Character check for the primitive text provider to recognize Characters

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java?rev=1478711&r1=1478710&r2=1478711&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java
Fri May  3 10:10:49 2013
@@ -1129,6 +1129,7 @@ public final class InjectionUtils {
         return type.isPrimitive() 
             || Number.class.isAssignableFrom(type)
             || Boolean.class.isAssignableFrom(type)
+            || Character.class.isAssignableFrom(type)
             || String.class == type;
     }
     



Mime
View raw message