Fix Java 11 javadoc compile problem

Java 11 complains with a "type arguments not allowed here" error when types are
used in javadoc links it seems. Simply removing it.
This commit is contained in:
Christoph Büscher 2018-07-18 10:34:42 +02:00
parent 69cbdc47eb
commit ef5e8d8d8a
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ public class PainlessDocGenerator {
} }
/** /**
* Pick the javadoc root for a {@link Class<?>}. * Pick the javadoc root for a {@link Class}.
*/ */
private static String javadocRoot(Class<?> clazz) { private static String javadocRoot(Class<?> clazz) {
String classPackage = clazz.getPackage().getName(); String classPackage = clazz.getPackage().getName();