Replace 'recourse' with simpler terms (SPR-7339)
This commit is contained in:
parent
bab902e85b
commit
b87b23087d
|
|
@ -303,9 +303,9 @@ sender.send(message);]]></programlisting>
|
|||
create your email template(s), you will need to have the Velocity libraries
|
||||
available on your classpath. You will also need to create one or more Velocity templates
|
||||
for the email content that your application needs. Find below the Velocity
|
||||
template that this example will be using... as you can see it is HTML-based,
|
||||
and since it is plain text it can be created using your favorite HTML editor
|
||||
without recourse to having to know Java.</para>
|
||||
template that this example will be using. As you can see it is HTML-based,
|
||||
and since it is plain text it can be created using your favorite HTML
|
||||
or text editor.</para>
|
||||
<programlisting language="xml"><lineannotation># in the <literal>com/foo/package</literal></lineannotation><![CDATA[
|
||||
<html>
|
||||
<body>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue