Skip to content

Commit 8cf8b4b

Browse files
committed
CastExpression favours cast keyword instead of ::
1 parent b3ee751 commit 8cf8b4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/sf/jsqlparser/expression/CastExpression.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class CastExpression implements Expression {
3131

3232
private Expression leftExpression;
3333
private ColDataType type;
34-
private boolean useCastKeyword;
34+
private boolean useCastKeyword = true;
3535

3636
public ColDataType getType() {
3737
return type;

0 commit comments

Comments
 (0)