Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-39042

Use `Map.values()` instead of `Map.entrySet()` in scenarios that do not use `keys`

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • Spark Core, SQL
    • None

    Description

      Some code in Spark use `Map.entrySet()` but not use `keys`, can use   `Map.values()` instead of

      Attachments

        Activity

          People

            LuciferYang Yang Jie
            LuciferYang Yang Jie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: