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:
Christian Aistleitner
2015-03-29 14:07:15 +02:00
parent 19547b5ac6
commit 0da441ef87
11 changed files with 48 additions and 37 deletions

View File

@@ -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