Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 13934 invoked from network); 22 Aug 2007 23:40:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Aug 2007 23:40:52 -0000 Received: (qmail 89088 invoked by uid 500); 22 Aug 2007 23:40:48 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 88986 invoked by uid 500); 22 Aug 2007 23:40:48 -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 88975 invoked by uid 99); 22 Aug 2007 23:40:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2007 16:40:48 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2007 23:40:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 752B171417D for ; Wed, 22 Aug 2007 16:40:30 -0700 (PDT) Message-ID: <2439606.1187826030477.JavaMail.jira@brutus> Date: Wed, 22 Aug 2007 16:40:30 -0700 (PDT) From: "Dave Meikle (JIRA)" To: issues@commons.apache.org Subject: [jira] Created: (LANG-354) Implementation of a CloneBuilder Class MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 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.