Skip to content

Commit 818464c

Browse files
feat: syntax sugar
Signed-off-by: Andreas Reichel <andreas@manticore-projects.com>
1 parent 2cb3e58 commit 818464c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/net/sf/jsqlparser/expression/operators/relational/IsNullExpression.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ public IsNullExpression(Expression leftExpression) {
2727
this.leftExpression = leftExpression;
2828
}
2929

30-
public IsNullExpression(String columnName, boolean useNotNull) {
30+
public IsNullExpression(String columnName, boolean not) {
3131
this.leftExpression = new Column(columnName);
32-
this.useNotNull = useNotNull;
32+
this.not = useNotNull;
3333
}
3434

3535
public Expression getLeftExpression() {

0 commit comments

Comments
 (0)