You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by zj...@apache.org on 2020/04/14 13:30:37 UTC

[zeppelin] branch branch-0.9 updated: [hotfix] Fix JdbcIntegrationTest

This is an automated email from the ASF dual-hosted git repository.

zjffdu pushed a commit to branch branch-0.9
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/branch-0.9 by this push:
     new 4c35510  [hotfix] Fix JdbcIntegrationTest
4c35510 is described below

commit 4c355103c58f60862be49a8e324a10157cda5f98
Author: Jeff Zhang <zj...@apache.org>
AuthorDate: Sat Apr 11 11:25:17 2020 +0800

    [hotfix] Fix JdbcIntegrationTest
---
 .../main/java/org/apache/zeppelin/interpreter/InterpreterSetting.java  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/zeppelin-zengine/src/main/java/org/apache/zeppelin/interpreter/InterpreterSetting.java b/zeppelin-zengine/src/main/java/org/apache/zeppelin/interpreter/InterpreterSetting.java
index 0babe2a..9a179cd 100644
--- a/zeppelin-zengine/src/main/java/org/apache/zeppelin/interpreter/InterpreterSetting.java
+++ b/zeppelin-zengine/src/main/java/org/apache/zeppelin/interpreter/InterpreterSetting.java
@@ -637,8 +637,7 @@ public class InterpreterSetting {
     Properties jProperties = new Properties();
     Map<String, InterpreterProperty> iProperties = (Map<String, InterpreterProperty>) properties;
     for (Map.Entry<String, InterpreterProperty> entry : iProperties.entrySet()) {
-      if (entry.getValue().getValue() != null &&
-              !StringUtils.isBlank(entry.getValue().getValue().toString())) {
+      if (entry.getValue().getValue() != null) {
         jProperties.setProperty(entry.getKey().trim(),
             entry.getValue().getValue().toString().trim());
       }