File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
src/main/java/net/sf/jsqlparser/statement/alter Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ Also I would like to know about needed examples or documentation stuff.
4242
4343## Extensions in the latest SNAPSHOT version 0.9.6
4444
45+ * support for Alter with multiple ADD/DROP expressions
4546* support for ** ON DELETE SET NULL** for create table
4647* added AST node support for subselect, withitem, function, case when
4748* first support for ** TABLESPACE** within ** CREATE TABLE**
Original file line number Diff line number Diff line change 2323
2424import java .util .ArrayList ;
2525import java .util .Iterator ;
26+ import java .util .List ;
2627
2728import net .sf .jsqlparser .schema .Table ;
2829import net .sf .jsqlparser .statement .Statement ;
2930import net .sf .jsqlparser .statement .StatementVisitor ;
30- import net .sf .jsqlparser .statement .create .table .ColDataType ;
31- import net .sf .jsqlparser .statement .create .table .Index ;
32- import net .sf .jsqlparser .statement .select .PlainSelect ;
3331
3432/**
3533 *
@@ -39,7 +37,7 @@ public class Alter implements Statement {
3937
4038 private Table table ;
4139
42- private ArrayList <AlterExpression > alterExpressions ;
40+ private List <AlterExpression > alterExpressions ;
4341
4442 public Table getTable () {
4543 return table ;
@@ -56,11 +54,11 @@ public void addAlterExpression(AlterExpression alterExpression){
5654 alterExpressions .add (alterExpression );
5755 }
5856
59- public ArrayList <AlterExpression > getAlterExpressions () {
57+ public List <AlterExpression > getAlterExpressions () {
6058 return alterExpressions ;
6159 }
6260
63- public void setAlterExpressions (ArrayList <AlterExpression > alterExpressions ) {
61+ public void setAlterExpressions (List <AlterExpression > alterExpressions ) {
6462 this .alterExpressions = alterExpressions ;
6563 }
6664
You can’t perform that action at this time.
0 commit comments