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

incorrect phrase usage in javadocs documentation

XMLWordPrintable

    • b152
    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      In the functional interface documentation (https://docs.oracle.com/javase/8/docs/api/java/util/function/package-summary.html) link, while explaining function types it is mentioned as " Supplier (nilary function to R)". While i googled, there is nothing as "nilary function"; instead it should be "nullary function", means "function takes no arguments".
      If you consider this is a documentation error, please correct it.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      "nilary function" should be represented as "nullary function", which means "function takes no arguements".
      ACTUAL -
      it is mentioned as nilary function

      URL OF FAULTY DOCUMENTATION :
      https://docs.oracle.com/javase/8/docs/api/java/util/function/package-summary.html

            aroy Abhijit Roy (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: