Skip to content

Commit

Permalink
Merge pull request #426 from influxdata/chainedstringbuilder
Browse files Browse the repository at this point in the history
Performance improvement: use chained StringBuilder calls instead of s…
  • Loading branch information
fmachado authored Mar 10, 2018
2 parents 6d610fc + 8297494 commit cc2ffe7
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/main/java/org/influxdb/dto/BatchPoints.java
Original file line number Diff line number Diff line change
Expand Up @@ -253,17 +253,17 @@ public int hashCode() {
@Override
public String toString() {
StringBuilder builder = new StringBuilder();
builder.append("BatchPoints [database=");
builder.append(this.database);
builder.append(", retentionPolicy=");
builder.append(this.retentionPolicy);
builder.append(", consistency=");
builder.append(this.consistency);
builder.append(", tags=");
builder.append(this.tags);
builder.append(", points=");
builder.append(this.points);
builder.append("]");
builder.append("BatchPoints [database=")
.append(this.database)
.append(", retentionPolicy=")
.append(this.retentionPolicy)
.append(", consistency=")
.append(this.consistency)
.append(", tags=")
.append(this.tags)
.append(", points=")
.append(this.points)
.append("]");
return builder.toString();
}

Expand Down

0 comments on commit cc2ffe7

Please sign in to comment.