fix problems with deck format detection

This commit is contained in:
Maxmtg
2014-01-13 19:01:46 +00:00
parent 91be7b5a32
commit 4a611fcf58
2 changed files with 15 additions and 4 deletions

View File

@@ -49,12 +49,16 @@ public abstract class StorageReaderFileSections<T> extends StorageReaderBase<T>
}
protected Map<String, T> createMap() {
return new TreeMap<String, T>();
}
/* (non-Javadoc)
* @see forge.util.IItemReader#readAll()
*/
@Override
public Map<String, T> readAll() {
final Map<String, T> result = new TreeMap<String, T>();
final Map<String, T> result = createMap();
int idx = 0;
Iterable<String> file = FileUtil.readFile(this.file);