commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28482] - [CLI] clone() method doesn't fully clone contents
Date Sun, 03 Oct 2004 09:48:13 GMT
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


Mime
View raw message