You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampark.apache.org by "ChengJie1053 (via GitHub)" <gi...@apache.org> on 2023/09/28 01:35:54 UTC

[GitHub] [incubator-streampark] ChengJie1053 commented on a diff in pull request #3202: [Improve] Console core module code optimization

ChengJie1053 commented on code in PR #3202:
URL: https://github.com/apache/incubator-streampark/pull/3202#discussion_r1339410915


##########
streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/bean/AppBuildDockerResolvedDetail.java:
##########
@@ -43,7 +44,7 @@ public class AppBuildDockerResolvedDetail {
 
   public static AppBuildDockerResolvedDetail of(@Nullable DockerResolvedSnapshot snapshot) {
     AppBuildDockerResolvedDetail detail = new AppBuildDockerResolvedDetail();
-    if (snapshot == null) {
+    if (Objects.isNull(snapshot)) {

Review Comment:
   Ok, thanks for reviewing the code



-- 
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: issues-unsubscribe@streampark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org