File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/java/net/sf/jsqlparser/statement Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ public String toString() {
7777 String sql = "DROP " + type + " "
7878 + (ifExists ?"IF EXISTS " :"" ) + name .toString ();
7979
80- if (parameters != null && parameters .size () > 0 ) {
80+ if (parameters != null && ! parameters .isEmpty () ) {
8181 sql += " " + PlainSelect .getStringList (parameters );
8282 }
8383
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public void setOnSelectItems(List<SelectItem> list) {
4848 public String toString () {
4949 String sql = "DISTINCT" ;
5050
51- if (onSelectItems != null && onSelectItems .size () > 0 ) {
51+ if (onSelectItems != null && ! onSelectItems .isEmpty () ) {
5252 sql += " ON (" + PlainSelect .getStringList (onSelectItems ) + ")" ;
5353 }
5454
You can’t perform that action at this time.
0 commit comments