Ignore:
Timestamp:
2014-02-27T02:50:12+01:00 (12 years ago)
Author:
Don-vip
Message:

fix some Sonar issues (Constructor Calls Overridable Method)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/server/ProxyPreferencesPanel.java

    r6883 r6890  
    114114     * @return panel with HTTP proxy configuration
    115115     */
    116     protected JPanel buildHttpProxyConfigurationPanel() {
     116    protected final JPanel buildHttpProxyConfigurationPanel() {
    117117        JPanel pnl = new JPanel(new GridBagLayout()) {
    118118            @Override
     
    190190     * @return panel with SOCKS proxy configuration
    191191     */
    192     protected JPanel buildSocksProxyConfigurationPanel() {
     192    protected final JPanel buildSocksProxyConfigurationPanel() {
    193193        JPanel pnl = new JPanel(new GridBagLayout()) {
    194194            @Override
     
    230230    }
    231231
    232     protected JPanel buildProxySettingsPanel() {
     232    protected final JPanel buildProxySettingsPanel() {
    233233        JPanel pnl = new JPanel(new GridBagLayout());
    234234        GridBagConstraints gc = new GridBagConstraints();
     
    314314     * Initializes the panel with the values from the preferences
    315315     */
    316     public void initFromPreferences() {
     316    public final void initFromPreferences() {
    317317        String policy = Main.pref.get(PROXY_POLICY, null);
    318318        ProxyPolicy pp = ProxyPolicy.fromName(policy);
     
    365365    }
    366366
    367     protected void updateEnabledState() {
     367    protected final void updateEnabledState() {
    368368        boolean isHttpProxy = rbProxyPolicy.get(ProxyPolicy.USE_HTTP_PROXY).isSelected();
    369369        for (Component c: pnlHttpProxyConfigurationPanel.getComponents()) {
Note: See TracChangeset for help on using the changeset viewer.