RFR: 8280193: summary javadoc for java.awt.GraphicsEnvironment#preferPropotionalFonts broken

James Nord duke at openjdk.java.net
Wed Mar 23 08:18:07 UTC 2022


https://bugs.openjdk.java.net/browse/JDK-8280193


Javadoc broke the first sentence at the full stop space (newline) so it rendered with `Indicates a preference for proportional over non-proportional (e.g.`

This is an incorrect sentence, and so this change fixes it by replacing the `e.g.` to `for example`

https://docs.oracle.com/en/java/javase/17/docs/api/java.desktop/java/awt/GraphicsEnvironment.html

<img width="706" alt="image" src="https://user-images.githubusercontent.com/494726/149952315-651a4231-d641-4b73-8fea-93c83e1aa257.png">

-------------

Commit messages:
 - fix erronous javadoc first sentence

Changes: https://git.openjdk.java.net/jdk/pull/7127/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7127&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8280193
  Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7127.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7127/head:pull/7127

PR: https://git.openjdk.java.net/jdk/pull/7127



More information about the client-libs-dev mailing list