Skip to content
Permalink
Browse files
[WARNING] Remove unecessary toString calls
The StringBuilder handles the conversion
itself.
  • Loading branch information
chibenwa committed May 28, 2021
1 parent f86273e commit 2a67295206b3dd3457fa4277c78f2485f0b80c63
Showing 1 changed file with 3 additions and 3 deletions.
@@ -79,11 +79,11 @@ public boolean atEnd() {
public String toString() {
StringBuilder buffer = new StringBuilder();
buffer.append('[');
buffer.append(Integer.toString(this.lowerBound));
buffer.append(this.lowerBound);
buffer.append('>');
buffer.append(Integer.toString(this.pos));
buffer.append(this.pos);
buffer.append('>');
buffer.append(Integer.toString(this.upperBound));
buffer.append(this.upperBound);
buffer.append(']');
return buffer.toString();
}

0 comments on commit 2a67295

Please sign in to comment.