[jOOQ/jOOQ#9272] Fix Javadoc of default catalog and schema singletons
Fixes the Javadoc comment of the default catalog and schema singletons generated into the `CatalogImpl` and `SchemaImpl` subclasses. For the default catalog and schema the name was always empty.
This commit is contained in:
parent
171637eaed
commit
05a37398f0
@ -4764,8 +4764,8 @@ public class JavaGenerator extends AbstractGenerator {
|
||||
}
|
||||
|
||||
protected void generateCatalog(CatalogDefinition catalog, JavaWriter out) {
|
||||
final String catalogName = catalog.getQualifiedOutputName();
|
||||
final String catalogId = getStrategy().getJavaIdentifier(catalog);
|
||||
final String catalogName = !catalog.getQualifiedOutputName().isEmpty() ? catalog.getQualifiedOutputName() : catalogId;
|
||||
final String className = getStrategy().getJavaClassName(catalog);
|
||||
final List<String> interfaces = out.ref(getStrategy().getJavaClassImplements(catalog, Mode.DEFAULT));
|
||||
|
||||
@ -4856,8 +4856,8 @@ public class JavaGenerator extends AbstractGenerator {
|
||||
|
||||
protected void generateSchema(SchemaDefinition schema, JavaWriter out) {
|
||||
final String catalogId = out.ref(getStrategy().getFullJavaIdentifier(schema.getCatalog()), 2);
|
||||
final String schemaName = schema.getQualifiedOutputName();
|
||||
final String schemaId = getStrategy().getJavaIdentifier(schema);
|
||||
final String schemaName = !schema.getQualifiedOutputName().isEmpty() ? schema.getQualifiedOutputName() : schemaId;
|
||||
final String className = getStrategy().getJavaClassName(schema);
|
||||
final List<String> interfaces = out.ref(getStrategy().getJavaClassImplements(schema, Mode.DEFAULT));
|
||||
|
||||
|
||||
@ -26,10 +26,10 @@ import org.jooq.impl.CatalogImpl;
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DefaultCatalog extends CatalogImpl {
|
||||
|
||||
private static final long serialVersionUID = 602931876;
|
||||
private static final long serialVersionUID = -949847017;
|
||||
|
||||
/**
|
||||
* The reference instance of <code></code>
|
||||
* The reference instance of <code>DEFAULT_CATALOG</code>
|
||||
*/
|
||||
public static final DefaultCatalog DEFAULT_CATALOG = new DefaultCatalog();
|
||||
|
||||
|
||||
@ -17,10 +17,10 @@ import org.jooq.impl.CatalogImpl;
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DefaultCatalog extends CatalogImpl {
|
||||
|
||||
private static final long serialVersionUID = -2138369575;
|
||||
private static final long serialVersionUID = 1745902354;
|
||||
|
||||
/**
|
||||
* The reference instance of <code></code>
|
||||
* The reference instance of <code>DEFAULT_CATALOG</code>
|
||||
*/
|
||||
public static final DefaultCatalog DEFAULT_CATALOG = new DefaultCatalog();
|
||||
|
||||
|
||||
@ -22,10 +22,10 @@ import org.jooq.impl.SchemaImpl;
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DefaultSchema extends SchemaImpl {
|
||||
|
||||
private static final long serialVersionUID = 1869451816;
|
||||
private static final long serialVersionUID = 471838153;
|
||||
|
||||
/**
|
||||
* The reference instance of <code></code>
|
||||
* The reference instance of <code>DEFAULT_SCHEMA</code>
|
||||
*/
|
||||
public static final DefaultSchema DEFAULT_SCHEMA = new DefaultSchema();
|
||||
|
||||
|
||||
@ -17,10 +17,10 @@ import org.jooq.impl.CatalogImpl;
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DefaultCatalog extends CatalogImpl {
|
||||
|
||||
private static final long serialVersionUID = 2007051757;
|
||||
private static final long serialVersionUID = 1802263030;
|
||||
|
||||
/**
|
||||
* The reference instance of <code></code>
|
||||
* The reference instance of <code>DEFAULT_CATALOG</code>
|
||||
*/
|
||||
public static final DefaultCatalog DEFAULT_CATALOG = new DefaultCatalog();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user