Abstract our database operations into a single class.

This allows the logic between SQL and Flatfile to remain more hidden in
most cases and makes the code easier to read.
This commit is contained in:
GJ
2013-04-18 17:37:36 -04:00
parent 1aff2cf9eb
commit eea5784527
18 changed files with 1181 additions and 1376 deletions

View File

@ -48,10 +48,8 @@ public class ZipLibrary {
// Create the Source List, and add directories/etc to the file.
List<File> sources = new ArrayList<File>();
if (!Config.getInstance().getUseMySQL()) {
sources.add(FlatFileDirectory);
}
sources.add(FlatFileDirectory);
sources.add(ConfigFile);
sources.add(TreasuresFile);
sources.add(AdvancedConfigFile);