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

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

XMLWordPrintable

    • b17

      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..."

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

              Created:
              Updated:
              Resolved: