cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject git commit: Revert "enhancing readability #CXF-5688" (discussed with Sergey) This reverts commit 04f0ef2e32f55d51f14cfc6d7a14616b62a6cce5.
Date Tue, 07 Oct 2014 15:02:09 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 745a7840f -> a5aff3e7a


Revert "enhancing readability #CXF-5688"
(discussed with Sergey)
This reverts commit 04f0ef2e32f55d51f14cfc6d7a14616b62a6cce5.


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

Branch: refs/heads/master
Commit: a5aff3e7a43274b3d47cda706aaf8108bd7a9b07
Parents: 745a784
Author: Daniel Kulp <dkulp@apache.org>
Authored: Tue Oct 7 11:01:10 2014 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Tue Oct 7 11:01: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/a5aff3e7/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 eb2f9b7..cab2f3b 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,
true)) {
+            if (m != null && !MessageUtils.getContextualBoolean(m, ENUM_CONVERSION_CASE_SENSITIVE,
false)) {
                 obj = invokeValueOf(value.toUpperCase(), cls);
             }
             if (obj == null) {


Mime
View raw message