On Mon, Feb 24, 2014 at 12:55 PM, Oleg Kalnichevski
<[email protected]>wrote:

> On February 24, 2014 6:15:26 PM CET, sebb <[email protected]> wrote:
> >Why does the method copy resourceFactory rather than using it directly?
> >
> >Seems unnecessary.
>
>
> This is done to ensure that the same builder could be used to create
> multiple objects without polluting its internal state.
>

Javadoc! :)

Gary


>
> Oleg
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
E-Mail: [email protected] | [email protected]
Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Reply via email to