Use the more modern, compact, and flexible Javadoc "{@code ...}" instead of the HTML "<tt>...</tt>".

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1612040 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2014-07-20 06:54:09 +00:00
parent 88dd10fa4b
commit 03aa1e7078
1 changed files with 6 additions and 6 deletions

View File

@ -645,8 +645,8 @@ public class StringEscapeUtils {
/**
* <p>Escapes the characters in a {@code String} using XML entities.</p>
*
* <p>For example: <tt>"bread" &amp; "butter"</tt> =&gt;
* <tt>&amp;quot;bread&amp;quot; &amp;amp; &amp;quot;butter&amp;quot;</tt>.
* <p>For example: {@code "bread" & "butter"} =&gt;
* {@code &quot;bread&quot; &amp; &quot;butter&quot;}.
* </p>
*
* <p>Supports only the five basic XML entities (gt, lt, quot, amp, apos).
@ -670,8 +670,8 @@ public class StringEscapeUtils {
/**
* <p>Escapes the characters in a {@code String} using XML entities.</p>
*
* <p>For example: <tt>"bread" &amp; "butter"</tt> =&gt;
* <tt>&amp;quot;bread&amp;quot; &amp;amp; &amp;quot;butter&amp;quot;</tt>.
* <p>For example: {@code "bread" & "butter"} =&gt;
* {@code &quot;bread&quot; &amp; &quot;butter&quot;}.
* </p>
*
* <p>Note that XML 1.0 is a text-only format: it cannot represent control
@ -702,8 +702,8 @@ public class StringEscapeUtils {
/**
* <p>Escapes the characters in a {@code String} using XML entities.</p>
*
* <p>For example: <tt>"bread" &amp; "butter"</tt> =&gt;
* <tt>&amp;quot;bread&amp;quot; &amp;amp; &amp;quot;butter&amp;quot;</tt>.
* <p>For example: {@code "bread" & "butter"} =&gt;
* {@code &quot;bread&quot; &amp; &quot;butter&quot;}.
* </p>
*
* <p>XML 1.1 can represent certain control characters, but it cannot represent