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

java.sql.Connection#isValid has a wrongly spelled word

XMLWordPrintable

      A DESCRIPTION OF THE PROBLEM :
      The throws declaration states "Throws SQLException - if the value supplied for timeout is less then 0". The word "then" should be replaced with "than" because "than" is the word to use in comparisons.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      if the value supplied for timeout is less than 0
      ACTUAL -
      if the value supplied for timeout is less then 0

      URL OF FAULTY DOCUMENTATION :
      https://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html#isValid-int-

            psonal Pallavi Sonal (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: