Update JDBCInterpreter.java

change code style
This commit is contained in:
LeiWang 2017-04-05 09:29:27 +08:00 committed by GitHub
parent 444b6ab78b
commit ba34a414b9

View file

@ -371,8 +371,8 @@ public class JDBCInterpreter extends Interpreter {
switch (authType) {
case KERBEROS:
if (user == null ||
"false".equalsIgnoreCase(property.getProperty("zeppelin.jdbc.auth.kerberos.proxy.enable"))) {
if (user == null || "false".equalsIgnoreCase(
property.getProperty("zeppelin.jdbc.auth.kerberos.proxy.enable"))) {
connection = getConnectionFromPool(url, user, propertyKey, properties);
} else {
if (url.trim().startsWith("jdbc:hive")) {