(refs #1297)Bugfix

This commit is contained in:
Naoki Takezoe
2016-09-20 15:45:21 +09:00
parent 2ca20af502
commit 7b84f25c56

View File

@@ -46,7 +46,7 @@ object DatabaseConfig {
lazy val maximumPoolSize : Option[Int] = getOptionValue("db.maximumPoolSize" , config.getInt)
private def getOptionValue[T](path: String, f: String => T): Option[T] = {
if(config.hasPath(path)) None else Some(f(path))
if(config.hasPath(path)) Some(f(path)) else None
}
}