[icedtea-web] RFC: small cleanup in ControlPanel

Omair Majid omajid at redhat.com
Fri Dec 17 13:49:12 PST 2010


The attached patch cleans up some code in the ControlPanel, and in the 
process removes dependencies on JNLPRuntime.

2010-12-17  Omair Majid  <omajid at redhat.com>

    * netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java: Remove
    JNLPRuntime import. Remove configBrowserCommand.
    (SettingsPanel.toString): Add Override annotation.
    (createMainSettingsPanel): Remove call to loadConfiguration.
    (loadConfiguration): Remove method. Setting the browser command
    should be handled by the appropriate panel.
    (main): Remove call to JNLPRuntime.initialize and just create a new
    DeploymentConfiguration object. Clarify TODO comment.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: control-panel-cleanup-01.patch
Type: text/x-patch
Size: 2704 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20101217/080b3a01/control-panel-cleanup-01.patch 

More information about the distro-pkg-dev mailing list