deal with readSettings() regression

This commit is contained in:
Ben Fry
2015-03-31 18:47:44 -04:00
parent ab529a0da4
commit d009280dcd
+5 -2
View File
@@ -114,6 +114,9 @@ public class Library extends LocalContribution {
File exportSettings = new File(libraryFolder, "export.txt");
Map<String,String> exportTable = Base.readSettings(exportSettings);
if (exportTable == null) {
exportTable = new HashMap<>(); // need an empty table below
}
exportList = new HashMap<String, String[]>();
@@ -519,7 +522,7 @@ public class Library extends LocalContribution {
/**
* Returns the object stored in the referenceFile field, which contains an
* instance of the file object representing the index file of the reference
*
*
* @return referenceFile
*/
public File getReferenceIndexFile() {
@@ -529,7 +532,7 @@ public class Library extends LocalContribution {
/**
* Tests whether the reference's index file indicated by referenceFile exists.
*
*
* @return true if and only if the file denoted by referenceFile exists; false
* otherwise.
*/