removes comment refecting my doubts

This commit is contained in:
Maxmtg
2013-03-17 21:17:57 +00:00
parent 2e0bef61d1
commit 202e15fb95

View File

@@ -167,10 +167,8 @@ public class ImageCache {
// Inventory items don't have to know how a certain client should draw them. // Inventory items don't have to know how a certain client should draw them.
// That's why this method is not encapsulated and overloaded in the InventoryItem descendants // That's why this method is not encapsulated and overloaded in the InventoryItem descendants
public static String getImageKey(InventoryItem ii, boolean altState) { public static String getImageKey(InventoryItem ii, boolean altState) {
if ( ii instanceof CardPrinted ) { if ( ii instanceof CardPrinted )
// have to determine which pictures are present in our filesystem and use either set-pictures or non-set ones.
return getImageKey((CardPrinted)ii, altState, true); return getImageKey((CardPrinted)ii, altState, true);
}
if ( ii instanceof TournamentPack ) if ( ii instanceof TournamentPack )
return ImageCache.TOURNAMENTPACK_PREFIX + ((TournamentPack)ii).getEdition(); return ImageCache.TOURNAMENTPACK_PREFIX + ((TournamentPack)ii).getEdition();
if ( ii instanceof BoosterPack ) if ( ii instanceof BoosterPack )