去掉不必要的日志

This commit is contained in:
wenshao
2013-08-26 10:16:05 +08:00
parent 1ca1fd8485
commit a3da32dadc
@@ -902,13 +902,8 @@ public abstract class DruidAbstractDataSource extends WrapperAdapter implements
return;
}
if (inited) {
if (value > this.maxActive) {
throw new IllegalArgumentException("minIdle greater than maxActive, " + maxActive + " < "
+ this.minIdle);
}
LOG.error("minIdle changed : " + this.minIdle + " -> " + value);
if (inited && value > this.maxActive) {
throw new IllegalArgumentException("minIdle greater than maxActive, " + maxActive + " < " + this.minIdle);
}
this.minIdle = value;