Replace not needed StringBuffer with String concatenation
This commit is contained in:
parent
88310cf04b
commit
dff3364eb5
1 changed files with 1 additions and 5 deletions
|
@ -195,11 +195,7 @@ public class OreHelper
|
|||
@Override
|
||||
public String toString()
|
||||
{
|
||||
StringBuilder builder = new StringBuilder();
|
||||
builder.append( "ItemRef [ref=" ).append( this.ref.getUnlocalizedName() )
|
||||
.append( ", damage=" ).append( this.damage ).append( ", hash=" )
|
||||
.append( this.hash ).append( ']' );
|
||||
return builder.toString();
|
||||
return "ItemRef [ref=" + this.ref.getUnlocalizedName() + ", damage=" + this.damage + ", hash=" + this.hash + ']';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue