Changeset 9776 in josm


Ignore:
Timestamp:
2016-02-10T01:28:32+01:00 (6 years ago)
Author:
Don-vip
Message:

add more unit tests

Location:
trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/io/CredentialDialog.java

    r9078 r9776  
    166166            tfUserName.addKeyListener(new TFKeyListener(owner, tfUserName, tfPassword));
    167167            tfPassword.addKeyListener(new TFKeyListener(owner, tfPassword, tfUserName));
    168             cbSaveCredentials =  new JCheckBox(owner.saveUsernameAndPasswordCheckboxText);
     168            cbSaveCredentials = new JCheckBox(owner != null ? owner.saveUsernameAndPasswordCheckboxText : "");
    169169
    170170            setLayout(new GridBagLayout());
Note: See TracChangeset for help on using the changeset viewer.