Radeity commented on code in PR #12946:
URL:
https://github.com/apache/dolphinscheduler/pull/12946#discussion_r1027243328
##########
dolphinscheduler-tools/src/main/java/org/apache/dolphinscheduler/tools/demo/ProxyProcessDefinitionController.java:
##########
@@ -71,7 +70,7 @@ public ProxyResult createProcessDefinition(String token,
} catch (IOException e) {
throw new RuntimeException(e);
}
- proxyResult = JSONUtils.parseObject(responseBody, ProxyResult.class);
+ ProxyResult proxyResult = JSONUtils.parseObject(responseBody,
ProxyResult.class);
Review Comment:
```suggestion
return JSONUtils.parseObject(responseBody, ProxyResult.class);
```
##########
dolphinscheduler-tools/src/main/java/org/apache/dolphinscheduler/tools/demo/ProxyProcessDefinitionController.java:
##########
@@ -71,7 +70,7 @@ public ProxyResult createProcessDefinition(String token,
} catch (IOException e) {
throw new RuntimeException(e);
}
- proxyResult = JSONUtils.parseObject(responseBody, ProxyResult.class);
+ ProxyResult proxyResult = JSONUtils.parseObject(responseBody,
ProxyResult.class);
return proxyResult;
Review Comment:
```suggestion
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]