Allow to build api with Java 8
Java 8's javadoc fails hard on unknown HTML tags. Due some
documentation code snippets that contain generics and lacked a
{@code...}, the code got picked up as html, which made the target fail
like:
[...]/extensions/registration/DynamicSet.java:64: error: unknown tag: Foo
* DynamicSet.setOf(binder(), new TypeLiteral<Thing<Foo>>() {});
We insert the needed {@code...} to make the build pass for Java 8.
Change-Id: I430b8eb9f2f158c2c7a2a7a8d93446eff3253529
This commit is contained in:
@@ -162,7 +162,7 @@ public class SafeHtmlBuilder extends SafeHtml {
|
||||
}
|
||||
|
||||
/**
|
||||
* Open an element, appending "<tagName>" to the buffer.
|
||||
* Open an element, appending "{@code <tagName>}" to the buffer.
|
||||
* <p>
|
||||
* After the element is open the attributes may be manipulated until the next
|
||||
* {@code append}, {@code openElement}, {@code closeSelf} or
|
||||
|
||||
Reference in New Issue
Block a user