Merge pull request #7894 from McNetic/fix-javadoc-deprecationOnUnknownTypes

[#7893] Generate valid javadoc for deprecated data types
This commit is contained in:
Lukas Eder 2018-09-26 09:58:12 +02:00 committed by GitHub
commit c7afc8e9a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;