Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 36053E8B1 for ; Sun, 24 Feb 2013 21:26:13 +0000 (UTC) Received: (qmail 63060 invoked by uid 500); 24 Feb 2013 21:26:12 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 62996 invoked by uid 500); 24 Feb 2013 21:26:12 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 62987 invoked by uid 99); 24 Feb 2013 21:26:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Feb 2013 21:26:12 +0000 Date: Sun, 24 Feb 2013 21:26:12 +0000 (UTC) From: "Thomas Neidhart (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (COLLECTIONS-283) HashedMap deepClone 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/COLLECTIONS-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Neidhart resolved COLLECTIONS-283. ----------------------------------------- Resolution: Implemented HashedMap already implements a shallow clone, ie the entries are put into the cloned map. This behavior is equivalent to the one in the proposed patch. A real "deep" clone would clone all map entries and put them into the cloned map. > HashedMap deepClone > ------------------- > > Key: COLLECTIONS-283 > URL: https://issues.apache.org/jira/browse/COLLECTIONS-283 > Project: Commons Collections > Issue Type: New Feature > Components: Map > Affects Versions: 4.0-beta-1 > Environment: All > Reporter: Hasan Diwan > Attachments: MapUtils.pat > > Original Estimate: 0h > Remaining Estimate: 0h > > The HashedMap class lacks a method to do a deep clone() of the Object. This patch adds it and adds a test to make sure it works. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira