cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject git commit: [CXF-5837] Updating MessageContextImpl to set cxf.io.cacheinput to FALSE
Date Fri, 04 Jul 2014 16:56:03 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 1fbf53076 -> b246f4379


[CXF-5837] Updating MessageContextImpl to set cxf.io.cacheinput to FALSE


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

Branch: refs/heads/master
Commit: b246f4379544622c161b94ff443b5e6adfbb76c9
Parents: 1fbf530
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Fri Jul 4 17:55:42 2014 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Fri Jul 4 17:55:42 2014 +0100

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


http://git-wip-us.apache.org/repos/asf/cxf/blob/b246f437/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/MessageContextImpl.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/MessageContextImpl.java
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/MessageContextImpl.java
index 7fd1f1b..acd96d8 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/MessageContextImpl.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/MessageContextImpl.java
@@ -75,7 +75,7 @@ public class MessageContextImpl implements MessageContext {
             try {
                 return createAttachments(key.toString());
             } catch (CacheSizeExceededException e) {
-                m.getExchange().put("cxf.io.cacheinput", null);
+                m.getExchange().put("cxf.io.cacheinput", Boolean.FALSE);
                 throw new WebApplicationException(413);
             }
         }


Mime
View raw message