DruidDataSource.init remove maxIdle check

This commit is contained in:
wenshao
2012-08-27 13:46:42 +08:00
parent 5eb6db7a84
commit 14c1d27c71
2 changed files with 1 additions and 11 deletions
@@ -343,10 +343,6 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
throw new IllegalArgumentException("illegal maxActive " + maxActive);
}
if (maxIdle <= 0 || maxIdle < minIdle) {
throw new IllegalArgumentException("illegal maxPoolSize");
}
if (getInitialSize() > maxActive) {
throw new IllegalArgumentException("illegal initialSize " + this.initialSize + ", maxActieve "
+ maxActive);