replaced StringBuffer with StringBuilder
parent
c5bb97d98b
commit
6d791a2e26
|
@ -28,7 +28,7 @@ public class MagicCardChoiceResult extends ArrayList<MagicCard> implements Magic
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
final StringBuffer buffer=new StringBuffer();
|
final StringBuilder buffer=new StringBuilder();
|
||||||
for (final MagicCard card : this) {
|
for (final MagicCard card : this) {
|
||||||
if (buffer.length()>0) {
|
if (buffer.length()>0) {
|
||||||
buffer.append(", ");
|
buffer.append(", ");
|
||||||
|
|
|
@ -47,7 +47,7 @@ public class MagicExcludeResult implements MagicMappable {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
final StringBuffer buffer=new StringBuffer();
|
final StringBuilder buffer=new StringBuilder();
|
||||||
for (int index=0,flag=1;index<excludePermanents.size();index++,flag<<=1) {
|
for (int index=0,flag=1;index<excludePermanents.size();index++,flag<<=1) {
|
||||||
if (buffer.length()>0) {
|
if (buffer.length()>0) {
|
||||||
buffer.append(", ");
|
buffer.append(", ");
|
||||||
|
|
Loading…
Reference in New Issue