Remove interfaces that implement Cloneable and offer a better alternative.
--------------------------------------------------------------------------
Key: JBCACHE-1373
URL:
http://jira.jboss.com/jira/browse/JBCACHE-1373
Project: JBoss Cache
Issue Type: Task
Security Level: Public (Everyone can see)
Reporter: Manik Surtani
Assigned To: Manik Surtani
Fix For: 3.0.0
A bunch of classes and interfaces implement/extend Cloneable and generally this is bad
practice and difficult to control. A copy constructor or factory method should be used
instead with explicit copy semantics. Perhaps a Duplicable interface, with a public
duplicate() method, that will explicitly construct, duplicate state and return the
instance?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira