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

Typo in WatchService#poll(long timeout, TimeUnit unit) javadoc

    XMLWordPrintable

Details

    • b17

    Description

      The WatchService#poll(long timeout, TimeUnit unit) javadoc has this for the "timeout" param:

           * @param timeout
           * how to wait before giving up, in units of unit

      I think it should be "how long to wait..."

      Attachments

        Issue Links

          Activity

            People

              jpai Jaikiran Pai
              jpai Jaikiran Pai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: