<Swing Dev> [PATCH] 6179357-related: warnings removal: gtk

Florian Brunner fbrunnerlist at gmx.ch
Wed Oct 8 23:36:39 UTC 2008


Hi,

here another patch to remove warnings in the gtk package.

When compiling with
-Xlint -J-Xms80m -J-Xmx256m -Xlint:-serial -Xlint:-deprecation -Xlint:-fallthrough -Xmaxwarns 
2300
this patch reduces the number of reported warnings from 201 to 112.

Again, I tried only to change things related to the warnings and not to change 
any public or protected APIs in public or protected classes in this patch.

At many places I tried to add type parameters as meaningful as possible, 
but with some cases I just used Object, if a more meaningful type 
parameter was not so trivial. You might want to refactor this if needed. 
(Though everything should work as it is.)

-Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: swing-patch-200801009-warnings_gtk.patch
Type: text/x-diff
Size: 12619 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20081009/35c01d09/swing-patch-200801009-warnings_gtk.patch>


More information about the swing-dev mailing list