Displaying differences for changeset |
@@ -42,11 +42,10 @@ |
boolean debugging = Boolean.parseBoolean(Config.getString("debugging", "false")); |
if (null != className) { |
- |
//Don't need to synchronize() around these calls because they are already in a synchronized member |
if (!connectionStrings.containsKey(className)) { |
connectionStrings.put(className, Config.getString((debugging ? className.toLowerCase() + ".debug.db" : className.toLowerCase() + ".db"))); |
- |
+ |
} |
if (connectionStrings.get(className) == null || connectionStrings.get(className).isEmpty()) { |
@@ -57,7 +56,7 @@ |
} |
try { |
- if (!dataSources.containsKey(className)) { |
+ if (!dataSources.containsKey(className)) { |
createDataSource(className, Config.getString(className + ".db.driver", "org.postgresql.Driver"), logger); |
} |