Fix Javadoc generation on JDK 8.

This commit is contained in:
Jesse Glick committed 2017-04-11 09:26:45 -04:00
1 parent 55a0f39afa
commit 7c16d8dc46
104 files changed
+213 -188

No files matched your search

+3 -3
View File
@@ -131,7 +131,7 @@ public class MarkupText extends AbstractMarkupText {
}
/**
* Surrounds this subtext with <a>...</a>.
* Surrounds this subtext with {@code <a>…</a>}.
*/
public void href(String url) {
addHyperlink(0,length(),url);
@@ -292,8 +292,8 @@ public class MarkupText extends AbstractMarkupText {
* Returns the fully marked-up text.
*
* @param preEscape
* If true, the escaping is for the &lt;PRE> context. This leave SP and CR/LF intact.
* If false, the escape is for the normal HTML, thus SP becomes &amp;nbsp; and CR/LF becomes &lt;BR>
* If true, the escaping is for the {@code <PRE>} context. This leave SP and CR/LF intact.
* If false, the escape is for the normal HTML, thus SP becomes &amp;nbsp; and CR/LF becomes {@code <BR>}
*/
public String toString(boolean preEscape) {
if(tags.isEmpty())