Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 15763 invoked from network); 19 May 2008 10:56:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 May 2008 10:56:17 -0000 Received: (qmail 81151 invoked by uid 500); 19 May 2008 10:56:18 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 81059 invoked by uid 500); 19 May 2008 10:56:17 -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 81048 invoked by uid 99); 19 May 2008 10:56:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 May 2008 03:56:17 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 May 2008 10:55:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D28AF234C11E for ; Mon, 19 May 2008 03:55:55 -0700 (PDT) Message-ID: <755530514.1211194555861.JavaMail.jira@brutus> Date: Mon, 19 May 2008 03:55:55 -0700 (PDT) From: "Dave Meikle (JIRA)" To: issues@commons.apache.org Subject: [jira] Closed: (LANG-354) Implementation of a CloneBuilder Class In-Reply-To: <2439606.1187826030477.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LANG-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Meikle closed LANG-354. ---------------------------- Resolution: Invalid This cannot be implemented due to limitations in what can be done. > Implementation of a CloneBuilder Class > -------------------------------------- > > Key: LANG-354 > URL: https://issues.apache.org/jira/browse/LANG-354 > Project: Commons Lang > Issue Type: New Feature > Reporter: Dave Meikle > Priority: Minor > Fix For: 3.0 > > Attachments: CloneBuilder.java, CloneBuilderTest.java > > > As discussed on the Mailing List an implementation of a CloneBuilder class to simplify creating basic clone methods like the other builders in Lang. Example usage would be as follows: > public Object clone() { > return CloneBuilder.reflectionClone(this); > } > or > public Object clone() { > return new CloneBuilder(this) > .append("field1") // note the 'field by name' usage > .append("field2") // rather than 'field by value' > ... > .append("fieldn") > .toClone(); > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.