git-svn-id: http://code.alibabatech.com/svn/druid/trunk@617 b9813039-fb51-4c41-a8b9-e21c2acb5095

This commit is contained in:
wenshao
2011-09-02 19:36:27 +00:00
parent 0673777bf5
commit 90d81f63d7
@@ -119,7 +119,7 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
throw new IllegalArgumentException("illegal maxActive " + maxActive);
}
if (maxActive <= minIdle) {
if (maxActive < minIdle) {
throw new IllegalArgumentException("illegal maxActive " + maxActive);
}