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

Redundant checkNotNull in Transformation#setResources

    XMLWordPrintableJSON

Details

    Description

      In org.apache.flink.api.dag.Transformation#setResources(ResourceSpec minResources, ResourceSpec preferredResources),

      we have already checked that the parameters are not null by
      calling OperatorValidationUtils#validateMinAndPreferredResources.

      so it is not necessary to check again in setResources(
      ) , just assign the parameters.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Amon ZhangWei
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: