Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A1E6F7450 for ; Wed, 21 Dec 2011 23:17:52 +0000 (UTC) Received: (qmail 34824 invoked by uid 500); 21 Dec 2011 23:17:52 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 34787 invoked by uid 500); 21 Dec 2011 23:17:52 -0000 Mailing-List: contact issues-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 issues@cxf.apache.org Received: (qmail 34779 invoked by uid 99); 21 Dec 2011 23:17:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Dec 2011 23:17:52 +0000 X-ASF-Spam-Status: No, hits=-2002.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Dec 2011 23:17:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C5ACE122D62 for ; Wed, 21 Dec 2011 23:17:30 +0000 (UTC) Date: Wed, 21 Dec 2011 23:17:30 +0000 (UTC) From: "Sergey Beryozkin (Resolved) (JIRA)" To: issues@cxf.apache.org Message-ID: <530595654.37358.1324509450811.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <714501295.31308.1324398030821.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CXF-3988) org.apache.cxf.jaxrs.ext.multipart.Attachment object should be mutable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-3988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Beryozkin resolved CXF-3988. ----------------------------------- Resolution: Fixed Fix Version/s: 2.5.2 2.4.6 Fixed thanks to Benson > org.apache.cxf.jaxrs.ext.multipart.Attachment object should be mutable > ---------------------------------------------------------------------- > > Key: CXF-3988 > URL: https://issues.apache.org/jira/browse/CXF-3988 > Project: CXF > Issue Type: Improvement > Components: JAX-RS > Affects Versions: 2.5.1 > Reporter: Benson Margulies > Fix For: 2.4.6, 2.5.2 > > > As currently coded, the headers in an Attachment are immutable after construction. This prevents a construction like: > - call a convenient constructor > - add one more header > Rather than change the contract of getHeaders, I propose to add put/putSingle to the contract of Attachment. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira