Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-22679

code optimization:Transformation.equals

    XMLWordPrintableJSON

    Details

      Description

      code optimization:Transformation.equals , line : 550

      // old
      return outputType != null ? outputType.equals(that.outputType) : that.outputType == null;
      // new 
      return Objects.equals(outputType, that.outputType);

      I think after change  it will be more readable

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Lonie huzeming
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: