Closed GoogleCodeExporter closed 8 years ago
Hi, "You can create a single instance of cloner and use it throughout your
application[...]". I've modified this to "You can create a single instance of
cloner and use it throughout your application to deep clone objects. Once
instantiated and configured, then the cloner is thread safe and can be reused,
provided it's configuration is not altered. "
Cloner has to be configured once (i.e. register all nullsInsteadOfClone and all
immutables) but then only used for deep cloning object. A builder might have
been better to create an immutable Cloner instance but then things would be
hard to configure cloner via spring as a bean.
I hope this solves the issue, please let me know if it's ok to close the bug.
Original comment by kostas.k...@googlemail.com
on 7 Mar 2012 at 9:07
Closing the issue, please let me know for any other issues.
Original comment by kostas.k...@googlemail.com
on 14 Mar 2012 at 8:58
Original issue reported on code.google.com by
serragn...@gmail.com
on 29 Feb 2012 at 6:51