Browse Source

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

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3534 50f2f4bb-b051-0410-bef5-90022cba6387
pull/1/head
Chris Beams 16 years ago
parent
commit
dec9cdcb4a
  1. 6
      spring-framework-reference/src/mail.xml
  2. 8
      spring-framework-reference/src/validation.xml

6
spring-framework-reference/src/mail.xml

@ -303,9 +303,9 @@ sender.send(message);]]></programlisting> @@ -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>

8
spring-framework-reference/src/validation.xml

@ -108,9 +108,9 @@ public class Person { @@ -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 { @@ -1515,4 +1515,4 @@ public class MyController {
</section>
</section>
</section>
</chapter>
</chapter>

Loading…
Cancel
Save