From 27138a7ce7172681b8bc5c65e76a7dd0b36de885 Mon Sep 17 00:00:00 2001 From: wforget <643348094@qq.com> Date: Mon, 15 Jul 2024 13:41:35 +0800 Subject: [PATCH] fix style --- .../manager/engineplugin/jdbc/ConnectionManager.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/linkis-engineconn-plugins/jdbc/src/main/java/org/apache/linkis/manager/engineplugin/jdbc/ConnectionManager.java b/linkis-engineconn-plugins/jdbc/src/main/java/org/apache/linkis/manager/engineplugin/jdbc/ConnectionManager.java index 215d866920..f7598d113d 100644 --- a/linkis-engineconn-plugins/jdbc/src/main/java/org/apache/linkis/manager/engineplugin/jdbc/ConnectionManager.java +++ b/linkis-engineconn-plugins/jdbc/src/main/java/org/apache/linkis/manager/engineplugin/jdbc/ConnectionManager.java @@ -189,14 +189,12 @@ protected DataSource buildDataSource(String dbUrl, Map propertie properties, JDBCEngineConnConstant.JDBC_POOL_REMOVE_ABANDONED_TIMEOUT, 300); int connectionTimeout = - JDBCPropertiesParser.getInt( - properties, JDBCEngineConnConstant.JDBC_CONNECTION_TIMEOUT, 0); + JDBCPropertiesParser.getInt(properties, JDBCEngineConnConstant.JDBC_CONNECTION_TIMEOUT, 0); int socketTimeout = - JDBCPropertiesParser.getInt( - properties, JDBCEngineConnConstant.JDBC_SOCKET_TIMEOUT, 0); + JDBCPropertiesParser.getInt(properties, JDBCEngineConnConstant.JDBC_SOCKET_TIMEOUT, 0); int queryTimeout = - JDBCPropertiesParser.getInt( - properties, JDBCConfiguration$.MODULE$.JDBC_QUERY_TIMEOUT().key(), 0); + JDBCPropertiesParser.getInt( + properties, JDBCConfiguration$.MODULE$.JDBC_QUERY_TIMEOUT().key(), 0); DruidDataSource datasource = new DruidDataSource(); LOG.info("Database connection address information(数据库连接地址信息)=" + dbUrl);