[rfc][icedtea-web] Very small SecurityDialog refactor

Andrew Azores aazores at redhat.com
Mon Aug 26 12:49:20 PDT 2013


Changelog:
* /netx/net/sourceforge/jnlp/security/SecurityDialogs.java: refactored 
return statements following getUserResponse(message) calls

Not much to explain here really. Some of the if-else going on was a bit 
unnecessary since the return value is boolean as well, and checking if 
the reference is null before using the instanceof operator is also not 
needed as "null instanceof Foo" is defined as false anyway.

Thanks,

-- 
Andrew A

-------------- next part --------------
A non-text attachment was scrubbed...
Name: SecurityDialog_refactor.patch
Type: text/x-patch
Size: 2200 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20130826/da2babe5/SecurityDialog_refactor.patch 


More information about the distro-pkg-dev mailing list