mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
The initialization process is optimized. If init() is not invoked before getConnection(), it will call init() first. When selector obtain a null DataSource, getConnection() will return null instead of throwing a NullPointerException.