Use generics. Structure code so explicit @SuppressWarnings annotations can be used rather than adding one that covers the entire method.

git-svn-id: http://svn.apache.org/repos/asf/commons/proper/dbcp@1537111 13f79535-47bb-0310-9956-ffa450edef68
[DBCP-402] Add a method to enable a Driver instance to be set directly.

git-svn-id: http://svn.apache.org/repos/asf/commons/proper/dbcp@1537116 13f79535-47bb-0310-9956-ffa450edef68