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

Remove ending punctuation from @throws in java.desktop

XMLWordPrintable

      Usually, the @throws tags in javadoc have no ending punctuation unless the description is a complete sentence or several sentences.

      In this case from JLabel:
           * @throws IllegalArgumentException if key isn't TOP, CENTER, or BOTTOM.
      there should be no period in the end of the phrase.

      To be consistent, the ending punctuation should be removed.

            aivanov Alexey Ivanov
            aivanov Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: