mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-11 19:16:42 +00:00
Fix Javadoc generation on JDK 8.
This commit is contained in:
1 parent
55a0f39afa
commit
7c16d8dc46
104 files changed
+213
-188
No files matched your search
@@ -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 <PRE> context. This leave SP and CR/LF intact.
|
||||
* If false, the escape is for the normal HTML, thus SP becomes &nbsp; and CR/LF becomes <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 &nbsp; and CR/LF becomes {@code <BR>}
|
||||
*/
|
||||
public String toString(boolean preEscape) {
|
||||
if(tags.isEmpty())
|
||||
|
||||
Reference in new issue
Block a user