I deleted my account on this terrible hate platform

This commit is contained in:
Lukas Eder 2025-01-10 10:35:18 +01:00
parent 270828323e
commit d69db14a0f
3 changed files with 4 additions and 8 deletions

View File

@ -2545,7 +2545,7 @@ public class JavaGenerator extends AbstractGenerator {
for (Definition column : columns) {
if (column instanceof EmbeddableDefinition e) {
// TODO: Setters of X properties cannot accept X? in Kotlin: https://twitter.com/lukaseder/status/1296371561214234624
// TODO: Setters of X properties cannot accept X?
if (kotlin)
if (pojoArgument)
if (kotlinEffectivelyNotNull(out, e, Mode.RECORD))
@ -3452,8 +3452,7 @@ public class JavaGenerator extends AbstractGenerator {
out.println("%svoid from(%s from);", visibilityPublic(), qualified);
// [#10191] Java and Kotlin can produce overloads for this method despite
// generic type erasure, but Scala cannot, see
// https://twitter.com/lukaseder/status/1262652304773259264
// generic type erasure, but Scala cannot
if (scala) {}
else {
out.javadoc("Copy data into another generated Record/POJO implementing the common interface %s", local);
@ -9822,8 +9821,7 @@ public class JavaGenerator extends AbstractGenerator {
if (override) {
// [#10191] Java and Kotlin can produce overloads for this method despite
// generic type erasure, but Scala cannot, see
// https://twitter.com/lukaseder/status/1262652304773259264
// generic type erasure, but Scala cannot
if (scala) {
if (mode != Mode.POJO && udtSupertype(tableUdtOrEmbeddable) == null) {

View File

@ -809,8 +809,7 @@ implements
}
// [#10191] Java and Kotlin can produce overloads for this method despite
// generic type erasure, but Scala cannot, see
// https://twitter.com/lukaseder/status/1262652304773259264
// generic type erasure, but Scala cannot
@Override
public /* final */ <E> E into(E object) {
if (object == null)

View File

@ -107,7 +107,6 @@ implements
// An emulation may be required only for the version where a subquery is used
// E.g. in HSQLDB: https://sourceforge.net/p/hsqldb/bugs/1579/
// Or in PostgreSQL: https://twitter.com/pg_xocolatl/status/1260344255035379714
static final Set<SQLDialect> EMULATE_DISTINCT_SELECT = SQLDialect.supportedBy(HSQLDB, POSTGRES, TRINO, YUGABYTEDB);
static final Set<SQLDialect> SUPPORT_DISTINCT_WITH_ARROW = SQLDialect.supportedBy(MARIADB, MYSQL);