[rfc][icedtea-web][policyeditor] Parent-window searching fix

Andrew Azores aazores at redhat.com
Tue Jun 24 19:12:17 UTC 2014


Hi,

I came across this hunk while working on another patch and thought it 
deserved a bit of cleanup. Rather than manually searching for the first 
parent component which is a Window by looping and checking the parent's 
type, a SwingUtilities utility method is simply used instead. If the 
Javadoc on this method is to be trusted then the semantics are 
identical, and it seems to work fine anyway.

Thanks,

-- 
Andrew A

-------------- next part --------------
A non-text attachment was scrubbed...
Name: policyeditor-window-ancestor.patch
Type: text/x-patch
Size: 1449 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20140624/5e01f04f/policyeditor-window-ancestor.patch>


More information about the distro-pkg-dev mailing list