Or add(p, new Dimension(1,1));

which might be a better option in the 2nd case.

-phil.

On 3/2/20, 10:21 AM, Sergey Bylokhov wrote:
Looks fine.

On 3/2/20 10:11 am, Alexander Zuev wrote:
Hello!

   Please review fix for the jdk/client.

Bug: https://bugs.openjdk.java.net/browse/JDK-8176040
Fix: http://cr.openjdk.java.net/~kizune/8176040/webrev <http://cr.openjdk.java.net/~kizune/8176040/webrev/>

Fix is trivial, i just changed the JavaDoc of two methods of java.awt.Rectangle that previously referenced non-existing method of the same class. One day it had to be done i guess.

/Alex


Reply via email to