Ignore:
Timestamp:
2016-05-11T03:38:33+02:00 (8 years ago)
Author:
Don-vip
Message:

fix NPE - regression from r10179

File:
1 edited

Legend:

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

    r10179 r10180  
    4646 */
    4747public class OAuthAuthenticationPreferencesPanel extends JPanel implements PropertyChangeListener {
     48    private final JCheckBox cbShowAdvancedParameters = new JCheckBox();
     49    private final JCheckBox cbSaveToPreferences = new JCheckBox(tr("Save to preferences"));
    4850    private final JPanel pnlAuthorisationMessage = new JPanel(new BorderLayout());
    4951    private final NotYetAuthorisedPanel pnlNotYetAuthorised = new NotYetAuthorisedPanel();
     52    private final AdvancedOAuthPropertiesPanel pnlAdvancedProperties = new AdvancedOAuthPropertiesPanel();
    5053    private final AlreadyAuthorisedPanel pnlAlreadyAuthorised = new AlreadyAuthorisedPanel();
    51     private final AdvancedOAuthPropertiesPanel pnlAdvancedProperties = new AdvancedOAuthPropertiesPanel();
    5254    private String apiUrl;
    53     private final JCheckBox cbShowAdvancedParameters = new JCheckBox();
    54     private final JCheckBox cbSaveToPreferences = new JCheckBox(tr("Save to preferences"));
    5555
    5656    /**
Note: See TracChangeset for help on using the changeset viewer.