replaced StringBuffer with StringBuilder

master
melvin 2011-09-03 15:12:34 +08:00
parent cf9436b4e3
commit 8fbd693783
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ public class HighQualityCardImagesProvider implements CardImagesProvider {
final MagicCardDefinition cardDefinition, final MagicCardDefinition cardDefinition,
final int index) { final int index) {
final int imageIndex=index%cardDefinition.getImageCount(); final int imageIndex=index%cardDefinition.getImageCount();
final StringBuffer buffer=new StringBuffer(); final StringBuilder buffer=new StringBuilder();
buffer.append(MagicMain.getGamePath()).append(File.separator); buffer.append(MagicMain.getGamePath()).append(File.separator);
buffer.append(cardDefinition.isToken()?"tokens":"cards").append(File.separator); buffer.append(cardDefinition.isToken()?"tokens":"cards").append(File.separator);
buffer.append(cardDefinition.getImageName()); buffer.append(cardDefinition.getImageName());