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

Improve formatting of docs in java.awt.Desktop

XMLWordPrintable

      The javadoc in java.awt.Desktop class has some missing blank lines between `@param` and `@throws` tags which look inconsistent.

      lines 779-780 [1]
           * @param printFileHandler handler
           * @throws SecurityException if a security manager exists and its

      This problem is found [2] during code review for JDK-8338411 in PR 21498 [3].

      There are other places below where it's missing. We may update the documentation for a more consistent look.

      [1] https://github.com/openjdk/jdk/blob/ea110c35f5429f1e1de57a301e2256f508a4c324/src/java.desktop/share/classes/java/awt/Desktop.java#L779-L780
      [2] https://github.com/openjdk/jdk/pull/21498#discussion_r1815168399
      [3] https://github.com/openjdk/jdk/pull/21498

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

              Created:
              Updated: