Skip to content

Commit cc2ffe7

Browse files
authored
Merge pull request #426 from influxdata/chainedstringbuilder
Performance improvement: use chained StringBuilder calls instead of s…
2 parents 6d610fc + 8297494 commit cc2ffe7

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/main/java/org/influxdb/dto/BatchPoints.java

+11-11
Original file line numberDiff line numberDiff line change
@@ -253,17 +253,17 @@ public int hashCode() {
253253
@Override
254254
public String toString() {
255255
StringBuilder builder = new StringBuilder();
256-
builder.append("BatchPoints [database=");
257-
builder.append(this.database);
258-
builder.append(", retentionPolicy=");
259-
builder.append(this.retentionPolicy);
260-
builder.append(", consistency=");
261-
builder.append(this.consistency);
262-
builder.append(", tags=");
263-
builder.append(this.tags);
264-
builder.append(", points=");
265-
builder.append(this.points);
266-
builder.append("]");
256+
builder.append("BatchPoints [database=")
257+
.append(this.database)
258+
.append(", retentionPolicy=")
259+
.append(this.retentionPolicy)
260+
.append(", consistency=")
261+
.append(this.consistency)
262+
.append(", tags=")
263+
.append(this.tags)
264+
.append(", points=")
265+
.append(this.points)
266+
.append("]");
267267
return builder.toString();
268268
}
269269

0 commit comments

Comments
 (0)