Ignore:
Timestamp:
2014-02-27T01:41:49+01:00 (10 years ago)
Author:
Don-vip
Message:

fix some Sonar issues (JLS order)

File:
1 edited

Legend:

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

    r6885 r6889  
    4343public class CredentialDialog extends JDialog {
    4444
    45     static public CredentialDialog getOsmApiCredentialDialog(String username, String password, String host, String saveUsernameAndPasswordCheckboxText) {
     45    public static CredentialDialog getOsmApiCredentialDialog(String username, String password, String host, String saveUsernameAndPasswordCheckboxText) {
    4646        CredentialDialog dialog = new CredentialDialog(saveUsernameAndPasswordCheckboxText);
    4747        if (Utils.equal(OsmApi.getOsmApi().getHost(), host)) {
     
    5454    }
    5555
    56     static public CredentialDialog getHttpProxyCredentialDialog(String username, String password, String host, String saveUsernameAndPasswordCheckboxText) {
     56    public static CredentialDialog getHttpProxyCredentialDialog(String username, String password, String host, String saveUsernameAndPasswordCheckboxText) {
    5757        CredentialDialog dialog = new CredentialDialog(saveUsernameAndPasswordCheckboxText);
    5858        dialog.prepareForProxyCredentials(username, password);
     
    320320    }
    321321
    322     static private class SelectAllOnFocusHandler extends FocusAdapter {
     322    private static class SelectAllOnFocusHandler extends FocusAdapter {
    323323        @Override
    324324        public void focusGained(FocusEvent e) {
     
    337337     *   If both text fields contain characters, submits the form by calling owner's {@link OKAction}.
    338338     */
    339     static private class TFKeyListener implements KeyListener{
     339    private static class TFKeyListener implements KeyListener{
    340340        protected CredentialDialog owner; // owner Dependency Injection to call OKAction
    341341        protected JTextField currentTF;
Note: See TracChangeset for help on using the changeset viewer.