Loading dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/ProcessDefinition.java +9 −4 Original line number Diff line number Diff line Loading @@ -279,11 +279,16 @@ public class ProcessDefinition { } public void setGlobalParams(String globalParams) { if (globalParams == null){ this.globalParamList = new ArrayList<>(); }else { try { this.globalParamList = JSONUtils.getMapper().readValue(globalParams, new TypeReference<List<Property>>() {}); this.globalParamList = JSONUtils.getMapper().readValue(globalParams, new TypeReference<List<Property>>() { }); } catch (IOException e) { logger.error("json parse exception!", e); } } this.globalParams = globalParams; } Loading Loading
dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/ProcessDefinition.java +9 −4 Original line number Diff line number Diff line Loading @@ -279,11 +279,16 @@ public class ProcessDefinition { } public void setGlobalParams(String globalParams) { if (globalParams == null){ this.globalParamList = new ArrayList<>(); }else { try { this.globalParamList = JSONUtils.getMapper().readValue(globalParams, new TypeReference<List<Property>>() {}); this.globalParamList = JSONUtils.getMapper().readValue(globalParams, new TypeReference<List<Property>>() { }); } catch (IOException e) { logger.error("json parse exception!", e); } } this.globalParams = globalParams; } Loading