Brandon Franklin wrote:
> Hey guys. You know how everybody's always saying "Why isn't there a "set"
> method for the method where I get my List???" and how you added some javadoc
> to the generated "get" method to help clear it up? I think there's a typo
> in there that might continue to cause confusion. This is from a binding
> generated using 1.0.1.
>
> * This accessor method returns a reference to the live list,
> * not a snapshot. Therefore any modification you make to the
> * returned list will be present inside the JAXB object.
> * This is why there's any setter method for the MessageHandler
> property.
> *
> * For example, to add a new item, do as follows:
> * <pre>
> * getMessageHandler().add(newItem);
> * </pre>
>
> If you look at the 4th line down, you'll see I think the word "not" got left
> out. In fact, I actually think better wording for it would be:
> "This is why there is not a <CODE>set</CODE> method for the MessageHandler
> property."
>
> Other than that, though, I think the javadoc change you made is a great
> improvement and will help alleviate confusion.
Thanks for the feedback. We will fix the typo.
Sekhar Vajjhala
Sun Microsystems Inc.