Replace 'recourse' with simpler terms (SPR-7339)

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3534 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Chris Beams
2010-08-07 13:57:16 +00:00
parent 4410126eeb
commit dec9cdcb4a
2 changed files with 7 additions and 7 deletions
@@ -108,9 +108,9 @@ public class Person {
<classname>Customer</classname> objects, and so a distinct
<classname>AddressValidator</classname> has been implemented. If you want your
<classname>CustomerValidator</classname> to reuse the logic contained within the
<classname>AddressValidator</classname> class without recourse to copy-n-paste you can
dependency-inject or instantiate an <classname>AddressValidator</classname> within your
<classname>CustomerValidator</classname>, and use it like so:</para>
<classname>AddressValidator</classname> class without resorting to copy-and-paste,
you can dependency-inject or instantiate an <classname>AddressValidator</classname>
within your <classname>CustomerValidator</classname>, and use it like so:</para>
<programlisting language="java"><![CDATA[public class CustomerValidator implements Validator {
private final Validator addressValidator;
@@ -1515,4 +1515,4 @@ public class MyController {
</section>
</section>
</section>
</chapter>
</chapter>