commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Meikle (JIRA)" <>
Subject [jira] Created: (LANG-354) Implementation of a CloneBuilder Class
Date Wed, 22 Aug 2007 23:40:30 GMT
Implementation of a CloneBuilder Class

                 Key: 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);


 public Object clone() {
     return new CloneBuilder(this)
         .append("field1")         // note the 'field by name' usage
         .append("field2")         // rather than 'field by value'

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message