- CheckStyle.

This commit is contained in:
Chris
2012-01-30 16:58:02 +00:00
parent c40192335d
commit 1133b8134d

View File

@@ -47,7 +47,8 @@ public class PreconDeck implements InventoryItemFromSet {
String filenameProxy = null;
String setProxy = "n/a";
List<String> metadata = sections.get("metadata");
if (null != metadata && !metadata.isEmpty()) for (String s : metadata) {
if (null != metadata && !metadata.isEmpty()) {
for (String s : metadata) {
String[] kv = s.split("=");
if ("Image".equalsIgnoreCase(kv[0])) {
filenameProxy = kv[1];
@@ -56,6 +57,7 @@ public class PreconDeck implements InventoryItemFromSet {
setProxy = kv[1];
}
}
}
imageFilename = filenameProxy;
set = setProxy;
recommendedDeals = new SellRules(sections.get("shop"));