mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
代码重构
git-svn-id: http://code.alibabatech.com/svn/druid/trunk@313 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
+3
-5
@@ -36,11 +36,9 @@ public class OracleValidConnectionChecker implements ValidConnectionChecker, Ser
|
||||
|
||||
private static final Log LOG = LogFactory.getLog(OracleValidConnectionChecker.class);
|
||||
|
||||
private Class<?> clazz;
|
||||
private Method ping;
|
||||
|
||||
// The timeout (apparently the timeout is ignored?)
|
||||
private static Object[] params = new Object[] { new Integer(5000) };
|
||||
private final Class<?> clazz;
|
||||
private final Method ping;
|
||||
private final static Object[] params = new Object[] { new Integer(5000) };
|
||||
|
||||
public OracleValidConnectionChecker(){
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user