Replace not needed StringBuffer with String concatenation
This commit is contained in:
@@ -195,11 +195,7 @@ public class OreHelper
|
|||||||
@Override
|
@Override
|
||||||
public String toString()
|
public String toString()
|
||||||
{
|
{
|
||||||
StringBuilder builder = new StringBuilder();
|
return "ItemRef [ref=" + this.ref.getUnlocalizedName() + ", damage=" + this.damage + ", hash=" + this.hash + ']';
|
||||||
builder.append( "ItemRef [ref=" ).append( this.ref.getUnlocalizedName() )
|
|
||||||
.append( ", damage=" ).append( this.damage ).append( ", hash=" )
|
|
||||||
.append( this.hash ).append( ']' );
|
|
||||||
return builder.toString();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user