<Swing Dev> RFR : 8049893 Replace uses of 'new Integer()' with appropriate alternative across client classes

Petr Pchelko petr.pchelko at oracle.com
Fri Jul 11 08:26:13 UTC 2014


Hello, Otávio.

JInternalFrame:2110 - Why did you add explicit boxing? Is auto boxing not good enough?
JLayeredPane:299 - layerObj is unnecessary. Please inline it.
BasicLookAndFeel - making “shared Integers” and “shared longs” is pointless after your fix. Please inline.

With best regards. Petr.

> On Jul 11, 2014, at 5:36 AM, Otávio Gonçalves de Santana <otaviopolianasantana at gmail.com> wrote:
> 
> https://bugs.openjdk.java.net/browse/JDK-8049893
> http://cr.openjdk.java.net/~prr/8049893/
> 
> -- 
> Cheers!.
> 
> Otávio Gonçalves de Santana
> 
> blog:     http://otaviosantana.blogspot.com.br/
> twitter: http://twitter.com/otaviojava
> site:     http://about.me/otaviojava
> 55 (11) 98255-3513
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20140711/a8b2919e/attachment.html>


More information about the swing-dev mailing list