johnou opened a new pull request, #422:
URL: https://github.com/apache/commons-dbcp/pull/422

   Motivation:
   
   By default isDisconnectionSqlException creates a new HashSet every 
invocation.
   
   Modification:
   
   Added new package-protected method, isDisconnectionSqlCode(String sqlState), 
that directly checks if a given sqlState is in the internal set.
   
   Result:
   
   The new method improves performance by avoiding redundant object creation.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to