Skip to content

Commit

Permalink
Drop <p> tag from generated JavaDoc
Browse files Browse the repository at this point in the history
This tag produces a warning when compiling with `-Xdoclint:html` and does not
affect the final rendering.

Signed-off-by: Stephan Schroevers <[email protected]>
  • Loading branch information
Stephan202 authored and lukasj committed Jun 4, 2019
1 parent 5324a46 commit 0a92c0c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ private TypeUse bindToTypeSafeEnum( XSRestrictionSimpleType type,
else javadoc = "";

javadoc += Messages.format( Messages.JAVADOC_HEADING, type.getName() )
+"\n<p>\n<pre>\n"+out.getBuffer()+"</pre>";
+"\n<pre>\n"+out.getBuffer()+"</pre>";

}

Expand Down

0 comments on commit 0a92c0c

Please sign in to comment.