[jOOQ/jOOQ#11194] Fixed formatting regression

This commit is contained in:
Lukas Eder 2021-01-14 17:38:38 +01:00
parent 9f6d867417
commit 619bb92702
4 changed files with 8 additions and 8 deletions

View File

@ -321,7 +321,7 @@ public abstract class GeneratorWriter<W extends GeneratorWriter<W>> {
}
}
else
sb.append(string);
sb.append(string.replace(newlineString, newlineString + indent));
}
private boolean peek(String string, int i, String peek) {

View File

@ -62,7 +62,7 @@ public class FlywayTest extends SchemaImpl {
public final List<Table<?>> getTables() {
return Arrays.asList(
Author.AUTHOR,
Book.BOOK
Book.BOOK
);
}
}

View File

@ -66,9 +66,9 @@ public class DefaultSchema extends SchemaImpl {
public final List<Table<?>> getTables() {
return Arrays.asList(
Actor.ACTOR,
Film.FILM,
FilmActor.FILM_ACTOR,
Language.LANGUAGE
Film.FILM,
FilmActor.FILM_ACTOR,
Language.LANGUAGE
);
}
}

View File

@ -52,8 +52,8 @@ open class Public : SchemaImpl("PUBLIC", DefaultCatalog.DEFAULT_CATALOG) {
override fun getTables(): List<Table<*>> = listOf(
Author.AUTHOR,
Book.BOOK,
BookStore.BOOK_STORE,
BookToBookStore.BOOK_TO_BOOK_STORE
Book.BOOK,
BookStore.BOOK_STORE,
BookToBookStore.BOOK_TO_BOOK_STORE
)
}