File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/main/java/net/sf/jsqlparser/schema Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,13 @@ public Partition(Column column, Expression value) {
2727 this .value = value ;
2828 }
2929
30- public static StringBuilder appendPartitionsTo (StringBuilder builder , Collection <Partition > partitions ) {
30+ public static void appendPartitionsTo (StringBuilder builder ,
31+ Collection <Partition > partitions ) {
3132 int j = 0 ;
3233 for (Partition partition : partitions ) {
3334 partition .appendTo (builder , j );
3435 j ++;
3536 }
36- return builder ;
3737 }
3838
3939 public Column getColumn () {
@@ -54,14 +54,13 @@ public void setValue(Expression value) {
5454
5555
5656 @ SuppressWarnings ({"PMD.CyclomaticComplexity" , "PMD.NPath" })
57- StringBuilder appendTo (StringBuilder builder , int j ) {
57+ void appendTo (StringBuilder builder , int j ) {
5858 if (j > 0 ) {
5959 builder .append (", " );
6060 }
6161 builder .append (column .getColumnName ());
6262 if (value != null ) {
6363 builder .append (" = " ).append (value );
6464 }
65- return builder ;
6665 }
6766}
You can’t perform that action at this time.
0 commit comments