cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [1/2] git commit: enhancing readability #CXF-5688 This closes #24
Date Tue, 07 Oct 2014 14:52:06 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 7a28ae166 -> 745a7840f


enhancing readability #CXF-5688
This closes #24


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

Branch: refs/heads/master
Commit: 04f0ef2e32f55d51f14cfc6d7a14616b62a6cce5
Parents: 7a28ae1
Author: Azitabh Ajit <azitabh@gmail.com>
Authored: Tue Oct 7 12:01:22 2014 +0530
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Tue Oct 7 10:29:39 2014 -0400

----------------------------------------------------------------------
 .../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/04f0ef2e/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 cab2f3b..eb2f9b7 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
@@ -1296,7 +1296,7 @@ public final class InjectionUtils {
         } else if (cls.isPrimitive()) {
             return PrimitiveUtils.read(value, cls);
         } else if (cls.isEnum()) {
-            if (m != null && !MessageUtils.getContextualBoolean(m, ENUM_CONVERSION_CASE_SENSITIVE,
false)) {
+            if (m != null && MessageUtils.getContextualBoolean(m, ENUM_CONVERSION_CASE_SENSITIVE,
true)) {
                 obj = invokeValueOf(value.toUpperCase(), cls);
             }
             if (obj == null) {


Mime
View raw message