From 09c2fb78ed4e67eb392e5558ad511652cd0714e4 Mon Sep 17 00:00:00 2001 From: Andreas Reichel Date: Thu, 15 Sep 2022 18:21:49 +0700 Subject: [PATCH] fix: add missing public Getter Add public Getter for `updateSets` Fixes #1630 --- .../jsqlparser/statement/insert/InsertConflictAction.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/java/net/sf/jsqlparser/statement/insert/InsertConflictAction.java b/src/main/java/net/sf/jsqlparser/statement/insert/InsertConflictAction.java index 32d9313eb..efe3161f4 100644 --- a/src/main/java/net/sf/jsqlparser/statement/insert/InsertConflictAction.java +++ b/src/main/java/net/sf/jsqlparser/statement/insert/InsertConflictAction.java @@ -32,15 +32,17 @@ */ public class InsertConflictAction { - ConflictActionType conflictActionType; - private final ArrayList updateSets = new ArrayList<>(); + ConflictActionType conflictActionType; Expression whereExpression; - public InsertConflictAction(ConflictActionType conflictActionType) { this.conflictActionType = Objects.requireNonNull(conflictActionType, "The Conflict Action Type is mandatory and must not be Null."); } + public ArrayList getUpdateSets() { + return updateSets; + } + public ConflictActionType getConflictActionType() { return conflictActionType; }