Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3D4291121E for ; Fri, 4 Jul 2014 16:56:04 +0000 (UTC) Received: (qmail 63930 invoked by uid 500); 4 Jul 2014 16:56:04 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 63867 invoked by uid 500); 4 Jul 2014 16:56:03 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 63842 invoked by uid 99); 4 Jul 2014 16:56:03 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jul 2014 16:56:03 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 9B16A99E114; Fri, 4 Jul 2014 16:56:03 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sergeyb@apache.org To: commits@cxf.apache.org Message-Id: <34eb1d081b2a44d7819c799656727bb5@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: [CXF-5837] Updating MessageContextImpl to set cxf.io.cacheinput to FALSE Date: Fri, 4 Jul 2014 16:56:03 +0000 (UTC) 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 Authored: Fri Jul 4 17:55:42 2014 +0100 Committer: Sergey Beryozkin 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); } }