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

Typo in java.security.Security.getProperty

XMLWordPrintable

      " @throws NullPointerException is key is {@code null}"

      (is -> if)

      perhaps the returns clause can be enhanced also. Currently it's :
      "the value of the security property corresponding to key."

      drawing from System.getProperty - this might read better:
      "the string value of the security property, or null if there is no property with that key."

            kdriver Kevin Driver
            coffeys Sean Coffey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: