From 5c3906e48c2e5f494267e1a12df8b79913356e37 Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Tue, 19 May 2020 13:48:44 +0200 Subject: [PATCH] [jOOQ/jOOQ#10203] Bad Javadoc generated for Tables.java in the default schema --- jOOQ-codegen/src/main/java/org/jooq/codegen/JavaGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jOOQ-codegen/src/main/java/org/jooq/codegen/JavaGenerator.java b/jOOQ-codegen/src/main/java/org/jooq/codegen/JavaGenerator.java index 3a233699dc..74562aa6f7 100644 --- a/jOOQ-codegen/src/main/java/org/jooq/codegen/JavaGenerator.java +++ b/jOOQ-codegen/src/main/java/org/jooq/codegen/JavaGenerator.java @@ -3182,7 +3182,7 @@ public class JavaGenerator extends AbstractGenerator { printPackage(out, schema); if (!kotlin) { - printClassJavadoc(out, "Convenience access to all tables in " + schema.getOutputName()); + printClassJavadoc(out, "Convenience access to all tables in " + (StringUtils.isEmpty(schema.getOutputName()) ? "the default schema" : schema.getOutputName())); printClassAnnotations(out, schema); }