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() {
77
77
String sql = "DROP " + type + " "
78
78
+ (ifExists ?"IF EXISTS " :"" ) + name .toString ();
79
79
80
- if (parameters != null && parameters .size () > 0 ) {
80
+ if (parameters != null && ! parameters .isEmpty () ) {
81
81
sql += " " + PlainSelect .getStringList (parameters );
82
82
}
83
83
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public void setOnSelectItems(List<SelectItem> list) {
48
48
public String toString () {
49
49
String sql = "DISTINCT" ;
50
50
51
- if (onSelectItems != null && onSelectItems .size () > 0 ) {
51
+ if (onSelectItems != null && ! onSelectItems .isEmpty () ) {
52
52
sql += " ON (" + PlainSelect .getStringList (onSelectItems ) + ")" ;
53
53
}
54
54
You can’t perform that action at this time.
0 commit comments