[#7893] Generate valid javadoc for deprecated data types

This commit is contained in:
Nicolai Ehemann 2018-09-25 09:20:01 +02:00
parent 914ce80110
commit 2e8749009f

View File

@ -4918,7 +4918,7 @@ public class JavaGenerator extends AbstractGenerator {
if (generateDeprecationOnUnknownTypes() && "java.lang.Object".equals(type)) {
out.tab(indentation).javadoc("@deprecated Unknown data type. "
+ "Please define an explicit {@link org.jooq.Binding} to specify how this "
+ "type should be handled. Deprecation can be turned off using <deprecationOnUnknownTypes/> "
+ "type should be handled. Deprecation can be turned off using {@literal <deprecationOnUnknownTypes/>} "
+ "in your code generator configuration.");
out.tab(indentation).println("@java.lang.Deprecated");
return true;