Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Rittler committed Feb 11, 2016
1 parent 097c53b commit a51d0e5
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,7 @@ private static void check(Config config) throws ConfigException {
if (config == null || config.moneytransfer == null || config.database == null || config.deployment == null ||
config.platforms == null || config.database.writing == null || config.database.readonly == null ||
config.database.dialect == null || config.database.url == null || config.database.readonly.user == null ||
config.database.readonly.password == null || config.database.writing.user == null ||
config.database.writing.password == null || config.deployment.origin == null || config.deployment.workerService == null ||
config.database.writing.user == null || config.deployment.origin == null ||
config.moneytransfer.notificationMailAddress == null || config.moneytransfer.parsingPassword == null) {
throw new ConfigException("Configuration file incomplete");
}
Expand All @@ -250,8 +249,7 @@ private static void check(Config config) throws ConfigException {
}

for (ConfigPlatform platform : config.platforms) {
if (platform.type == null || platform.user == null || platform.password == null || platform.name == null ||
platform.url == null) {
if (platform.type == null) {
throw new ConfigException("Some platform specific details are missing in the configuration file.");
}
}
Expand Down

0 comments on commit a51d0e5

Please sign in to comment.