Replace not needed StringBuffer with String concatenation

This commit is contained in:
thatsIch 2015-03-26 11:24:09 +01:00
parent 88310cf04b
commit dff3364eb5

View file

@ -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 + ']';
}
}