RFR: 8320676 : Manual printer tests have no Pass/Fail buttons, instructions close set 1 [v11]

Alexey Ivanov aivanov at openjdk.org
Wed Mar 6 15:45:50 UTC 2024


On Tue, 5 Mar 2024 12:13:02 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> Renjith Kannath Pariyangad has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Suggesions incorporated
>
> test/jdk/java/awt/print/PrinterJob/PrintAllFonts.java line 45:
> 
>> 43:     private static final int FONT_SIZE = 14;
>> 44:     private final Font[] allFonts =
>> 45:             GraphicsEnvironment.getLocalGraphicsEnvironment().getAllFonts();
> 
> I suggest adding blank lines to visually separate fields / constants with different purpose.
> Suggestion:
> 
>     private static final int LINE_HEIGHT = 18;
>     private static final int FONT_SIZE = 14;
> 
>     private final Font[] allFonts =
>             GraphicsEnvironment.getLocalGraphicsEnvironment().getAllFonts();

What about this?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17607#discussion_r1514715232


More information about the client-libs-dev mailing list