mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Code cleanup
This commit is contained in:
@@ -36,7 +36,6 @@ import forge.util.storage.StorageReaderFolder;
|
||||
*
|
||||
*/
|
||||
public class PreconDeck implements InventoryItemFromSet {
|
||||
|
||||
private final Deck deck;
|
||||
private final String set;
|
||||
private final String description;
|
||||
@@ -112,15 +111,12 @@ public class PreconDeck implements InventoryItemFromSet {
|
||||
return arg1.getName();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
public static class Reader extends StorageReaderFolder<PreconDeck> {
|
||||
|
||||
|
||||
public Reader(final File deckDir0) {
|
||||
super(deckDir0, PreconDeck.FN_NAME_SELECTOR);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
protected PreconDeck read(final File file) {
|
||||
return getPreconDeckFromSections(FileSection.parseSections(FileUtil.readFile(file)));
|
||||
@@ -142,8 +138,5 @@ public class PreconDeck implements InventoryItemFromSet {
|
||||
protected FilenameFilter getFileFilter() {
|
||||
return DeckSerializer.DCK_FILE_FILTER;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user