Skip to content

Commit d221277

Browse files
fix: add missing public Getter (#1632)
Add public Getter for `updateSets` Fixes #1630
1 parent 81a648e commit d221277

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/main/java/net/sf/jsqlparser/statement/insert/InsertConflictAction.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,17 @@
3232
*/
3333

3434
public class InsertConflictAction {
35-
ConflictActionType conflictActionType;
36-
3735
private final ArrayList<UpdateSet> updateSets = new ArrayList<>();
36+
ConflictActionType conflictActionType;
3837
Expression whereExpression;
39-
4038
public InsertConflictAction(ConflictActionType conflictActionType) {
4139
this.conflictActionType = Objects.requireNonNull(conflictActionType, "The Conflict Action Type is mandatory and must not be Null.");
4240
}
4341

42+
public ArrayList<UpdateSet> getUpdateSets() {
43+
return updateSets;
44+
}
45+
4446
public ConflictActionType getConflictActionType() {
4547
return conflictActionType;
4648
}

0 commit comments

Comments
 (0)