@@ -278,8 +278,8 @@ Update Update():
278278 Table table = null;
279279 Expression where = null;
280280 Column tableColumn = null;
281- List expList = new ArrayList();
282- List columns = new ArrayList();
281+ List<Expression> expList = new ArrayList<Expression> ();
282+ List<Column> columns = new ArrayList<Column> ();
283283 Expression value = null;
284284
285285}
@@ -304,8 +304,8 @@ Replace Replace():
304304 Column tableColumn = null;
305305 Expression value = null;
306306
307- List columns = new ArrayList();
308- List expList = new ArrayList();
307+ List<Column> columns = new ArrayList<Column> ();
308+ List<Expression> expList = new ArrayList<Expression> ();
309309 ItemsList itemsList = null;
310310 Expression exp = null;
311311
@@ -355,8 +355,8 @@ Insert Insert():
355355 Insert insert = new Insert();
356356 Table table = null;
357357 Column tableColumn = null;
358- List columns = new ArrayList();
359- List primaryExpList = new ArrayList();
358+ List<Column> columns = new ArrayList<Column> ();
359+ List<Expression> primaryExpList = new ArrayList<Expression> ();
360360 ItemsList itemsList = null;
361361 Expression exp = null;
362362}
@@ -482,7 +482,7 @@ Select Select():
482482{
483483 Select select = new Select();
484484 SelectBody selectBody = null;
485- List with = null;
485+ List<WithItem> with = null;
486486}
487487{
488488 [ with=WithList() { select.setWithItemsList(with); } ]
@@ -510,10 +510,10 @@ PlainSelect PlainSelect():
510510 PlainSelect plainSelect = new PlainSelect();
511511 List selectItems = null;
512512 FromItem fromItem = null;
513- List joins = null;
513+ List<Join> joins = null;
514514 List distinctOn = null;
515515 Expression where = null;
516- List orderByElements;
516+ List<OrderByElement> orderByElements;
517517 List groupByColumnReferences = null;
518518 Expression having = null;
519519 Limit limit = null;
@@ -562,10 +562,10 @@ PlainSelect PlainSelect():
562562Union Union():
563563{
564564 Union union = new Union();
565- List orderByElements = null;
565+ List<OrderByElement> orderByElements = null;
566566 Limit limit = null;
567567 PlainSelect select = null;
568- ArrayList selects = new ArrayList();
568+ ArrayList<PlainSelect> selects = new ArrayList<PlainSelect> ();
569569/*
570570this is not 100% right, since multiple UNION could have different ALL/DISTINCT clauses...
571571*/
@@ -599,7 +599,7 @@ this is not 100% right, since multiple UNION could have different ALL/DISTINCT c
599599
600600List WithList():
601601{
602- ArrayList withItemsList = new ArrayList();
602+ ArrayList<WithItem> withItemsList = new ArrayList<WithItem> ();
603603 WithItem with = null;
604604}
605605{
@@ -612,7 +612,7 @@ WithItem WithItem():
612612{
613613 WithItem with = new WithItem();
614614 String name = null;
615- List selectItems = null;
615+ List<SelectItem> selectItems = null;
616616 SelectBody selectBody = null;
617617}
618618{
@@ -625,7 +625,7 @@ WithItem WithItem():
625625
626626List SelectItemsList():
627627{
628- ArrayList selectItemsList = new ArrayList();
628+ ArrayList<SelectItem> selectItemsList = new ArrayList<SelectItem> ();
629629 SelectItem selectItem = null;
630630}
631631{
@@ -730,7 +730,7 @@ FromItem SubJoin():
730730
731731List JoinsList():
732732{
733- ArrayList joinsList = new ArrayList();
733+ ArrayList<Join> joinsList = new ArrayList<Join> ();
734734 Join join = null;
735735}
736736{
@@ -746,7 +746,7 @@ Join JoinerExpression():
746746 FromItem right = null;
747747 Expression onExpression = null;
748748 Column tableColumn;
749- List columns = null;
749+ List<Column> columns = null;
750750}
751751{
752752
0 commit comments