This is an automated email from the ASF dual-hosted git repository. alexott pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/master by this push: new 3d69db2 [hotfix] fix checkstyle violation in JDBC Interpreter 3d69db2 is described below commit 3d69db280ee9048c0cfedcd85399c6e39ef16bac Author: Alex Ott <alex...@gmail.com> AuthorDate: Sun Jul 12 12:44:11 2020 +0200 [hotfix] fix checkstyle violation in JDBC Interpreter ### What is this PR for? fix checkstyle violation in JDBC interpreter ### What type of PR is it? Hot Fix Author: Alex Ott <alex...@gmail.com> Closes #3850 from alexott/fix-checkstyle-jdbc and squashes the following commits: 2431b9eb5 [Alex Ott] [hotfix] fix checkstyle violation in JDBC Interpreter --- jdbc/src/main/java/org/apache/zeppelin/jdbc/JDBCInterpreter.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jdbc/src/main/java/org/apache/zeppelin/jdbc/JDBCInterpreter.java b/jdbc/src/main/java/org/apache/zeppelin/jdbc/JDBCInterpreter.java index a0b2789..d147d21 100644 --- a/jdbc/src/main/java/org/apache/zeppelin/jdbc/JDBCInterpreter.java +++ b/jdbc/src/main/java/org/apache/zeppelin/jdbc/JDBCInterpreter.java @@ -425,7 +425,8 @@ public class JDBCInterpreter extends KerberosInterpreter { boolean testOnCreate = "true".equalsIgnoreCase(properties.getProperty("testOnCreate")); boolean testOnReturn = "true".equalsIgnoreCase(properties.getProperty("testOnReturn")); boolean testWhileIdle = "true".equalsIgnoreCase(properties.getProperty("testWhileIdle")); - long timeBetweenEvictionRunsMillis = PropertiesUtil.getLong(properties, "timeBetweenEvictionRunsMillis", -1L); + long timeBetweenEvictionRunsMillis = PropertiesUtil.getLong( + properties, "timeBetweenEvictionRunsMillis", -1L); long maxWaitMillis = PropertiesUtil.getLong(properties, "maxWaitMillis", -1L); int maxIdle = PropertiesUtil.getInt(properties, "maxIdle", 8); int minIdle = PropertiesUtil.getInt(properties, "minIdle", 0); @@ -467,7 +468,7 @@ public class JDBCInterpreter extends KerberosInterpreter { poolableConnectionFactory.setValidationQuery( PropertiesUtil.getString(properties, "validationQuery", "show databases")); ObjectPool connectionPool = new GenericObjectPool(poolableConnectionFactory); - this.configConnectionPool((GenericObjectPool)connectionPool, properties); + this.configConnectionPool((GenericObjectPool) connectionPool, properties); poolableConnectionFactory.setPool(connectionPool); Class.forName(driverClass);