You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2002/09/20 20:21:55 UTC
DO NOT REPLY [Bug 12520] -
Generated code for WSDL should not break object encapsulation
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12520>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12520
Generated code for WSDL should not break object encapsulation
gdaniels@macromedia.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From gdaniels@macromedia.com 2002-09-20 18:21 -------
I disagree - I think standard programming practice is not this:
// Gee, I hope this guy clone()s this object...
obj.setField(someObjectIDontWantYouToTouch)
it's this:
// Safety first, officer!
Object arg = someObjectIDontWantYouToTouch.clone();
obj.setField(arg);