Skip to content

Commit 2364b2a

Browse files
committed
run spotlessApply
1 parent 1f43345 commit 2364b2a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/main/java/net/sf/jsqlparser/schema/Partition.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)