Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8272119

Typo in Collectors.summingInt documentation (a -> an)

XMLWordPrintable

    • b18
    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/stream/Collectors.html#summingInt(java.util.function.ToIntFunction)

      In the description of summingInt method:
      "a integer-valued function" should be "an integer-valued function" with "an" instead of "a".


            vklang Viktor Klang
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: