From c67cd2429feaab7e9ced97e25bafb30fbbfd25cf Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Thu, 12 Dec 2024 11:24:49 +0100 Subject: [PATCH] [jOOQ/jOOQ#10059] The NotMatchedBy internal enum isnt' needed --- jOOQ/src/main/java/org/jooq/impl/MergeImpl.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/jOOQ/src/main/java/org/jooq/impl/MergeImpl.java b/jOOQ/src/main/java/org/jooq/impl/MergeImpl.java index 4986d40982..1b8b10ab9c 100644 --- a/jOOQ/src/main/java/org/jooq/impl/MergeImpl.java +++ b/jOOQ/src/main/java/org/jooq/impl/MergeImpl.java @@ -309,7 +309,6 @@ implements // Flags to keep track of DSL object creation state private transient boolean matchedClause; private final List matched; - private transient NotMatchedBy notMatchedBy; private transient boolean notMatchedClause; private final List notMatched; @@ -1176,7 +1175,6 @@ implements final MergeImpl whenNotMatchedAnd0(Condition condition) { notMatchedClause = true; - notMatchedBy = null; notMatched.add(new NotMatchedClause(table, condition, false)); matchedClause = false; @@ -1220,7 +1218,6 @@ implements final MergeImpl whenNotMatchedBySourceAnd0(Condition condition) { notMatchedClause = false; - notMatchedBy = NotMatchedBy.BY_SOURCE; matchedClause = true; matched.add(new MatchedClause(table, condition, false, true)); @@ -1264,7 +1261,6 @@ implements final MergeImpl whenNotMatchedByTargetAnd0(Condition condition) { notMatchedClause = true; - notMatchedBy = NotMatchedBy.BY_TARGET; notMatched.add(new NotMatchedClause(table, condition, true)); matchedClause = false; @@ -2175,9 +2171,4 @@ implements this.byTarget = byTarget; } } - - private enum NotMatchedBy { - BY_TARGET, - BY_SOURCE - } }