removed extra parameter from getDownloadUrl - it was always true anyway

This commit is contained in:
Maxmtg
2013-03-18 09:41:40 +00:00
parent c241dfb8b9
commit 4016b95469
3 changed files with 5 additions and 5 deletions

View File

@@ -263,8 +263,8 @@ public class ImageCache {
return getImageLocator(cp, backFace, includeSet, false); return getImageLocator(cp, backFace, includeSet, false);
} }
public static String getDownloadUrl(CardPrinted cp, boolean backFace, boolean includeSet) { public static String getDownloadUrl(CardPrinted cp, boolean backFace) {
return getImageLocator(cp, backFace, includeSet, true); return getImageLocator(cp, backFace, true, true);
} }
public static String toMWSFilename(String in) { public static String toMWSFilename(String in) {

View File

@@ -140,7 +140,7 @@ public class DeckSerializer extends StorageReaderFolder<Deck> implements IItemSe
// System.out.println(card.getSets().get(card.getSets().size() - 1).URL); // System.out.println(card.getSets().get(card.getSets().size() - 1).URL);
for (int i = card.getValue().intValue(); i > 0; --i ) { for (int i = card.getValue().intValue(); i > 0; --i ) {
CardPrinted r = card.getKey(); CardPrinted r = card.getKey();
String url = NewConstants.URL_PIC_DOWNLOAD + ImageCache.getDownloadUrl(r, false, true); String url = NewConstants.URL_PIC_DOWNLOAD + ImageCache.getDownloadUrl(r, false);
list.add(url); list.add(url);
} }
} }

View File

@@ -48,11 +48,11 @@ public class GuiDownloadSetPicturesLQ extends GuiDownloader {
// we don't want cards from unknown sets // we don't want cards from unknown sets
continue; continue;
} }
String url = ImageCache.getDownloadUrl(c, false, true); String url = ImageCache.getDownloadUrl(c, false);
addDLObject(url, ImageCache.getImageKey(c, false, true), downloads); addDLObject(url, ImageCache.getImageKey(c, false, true), downloads);
if ( c.getRules().getSplitType() == CardSplitType.Transform ) { if ( c.getRules().getSplitType() == CardSplitType.Transform ) {
String url2 = ImageCache.getDownloadUrl(c, true, true); String url2 = ImageCache.getDownloadUrl(c, true);
addDLObject(url2, ImageCache.getImageKey(c, true, true), downloads); addDLObject(url2, ImageCache.getImageKey(c, true, true), downloads);
} }
} }