You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/10/03 11:48:13 UTC
DO NOT REPLY [Bug 28482] -
[CLI] clone() method doesn't fully clone contents
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28482>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28482
[CLI] clone() method doesn't fully clone contents
------- Additional Comments From sebb@apache.org 2004-10-03 09:48 -------
The clone() method in CLI Option v 1.0 fails to clone the values array; this
means one can't pick up the values from options like "-D property=value"
Not sure whether the clone() method is really required - do options need to be
cloneable? Might be better to provide a copy constructor instead, and avoid all
the problems with clone.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org