[8u60]: RFR and Approval: 8104577: Remove debugging message from Font2DTest demo

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue Jun 16 19:24:16 UTC 2015


Looks fine.

On 16.06.15 22:19, Rob McKenna wrote:
> Approved subject to review.
>
>     -Rob
>
> On 16/06/15 20:14, Phil Race wrote:
>> This is not a backport request, rather the backport of 8064833
>> unintentionally committed a demo code change that was being used in
>> debugging/testing the backport.
>> It is just a println in one of the demos (Font2DTest), not affecting
>> production code, nonetheless it should be deleted.
>> requesting review and approval to push ..
>>
>> diff here :
>> diff --git a/src/share/demo/jfc/Font2DTest/FontPanel.java
>> b/src/share/demo/jfc/Font2DTest/FontPanel.java
>> --- a/src/share/demo/jfc/Font2DTest/FontPanel.java
>> +++ b/src/share/demo/jfc/Font2DTest/FontPanel.java
>> @@ -515,7 +515,6 @@
>>
>>           /// Sets the font, hints, according to the set parameters
>>           private void setParams( Graphics2D g2 ) {
>> -System.out.println("USING FONT " + testFont + " 
>> "+testFont.getPSName());
>>               g2.setFont( testFont );
>>               g2.setRenderingHint(KEY_TEXT_ANTIALIASING, antiAliasType);
>>               g2.setRenderingHint(KEY_FRACTIONALMETRICS,
>> fractionalMetricsType);
>>
>> -phil.


-- 
Best regards, Sergey.



More information about the jdk8u-dev mailing list