tamirsagi commented on code in PR #539: URL: https://github.com/apache/flink-kubernetes-operator/pull/539#discussion_r1120490519
########## flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/reconciler/diff/DiffResult.java: ########## @@ -59,18 +63,48 @@ public String toString() { return ""; } - final ToStringBuilder lhsBuilder = - new ToStringBuilder(left, ToStringStyle.SHORT_PREFIX_STYLE); - final ToStringBuilder rhsBuilder = - new ToStringBuilder(right, ToStringStyle.SHORT_PREFIX_STYLE); + final StringBuilder builder = new StringBuilder(); + builder.append(left.getClass().getSimpleName()).append("["); diffList.forEach( diff -> { - lhsBuilder.append(diff.getFieldName(), diff.getLeft()); - rhsBuilder.append(diff.getFieldName(), diff.getRight()); + try { Review Comment: This part should be extracted to a method -- 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-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org