Ignore:
Timestamp:
2014-02-25T01:31:24+01:00 (10 years ago)
Author:
Don-vip
Message:

fix some Sonar issues

Location:
trunk/src/org/openstreetmap/josm/gui/preferences/server
Files:
2 edited

Legend:

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

    r6814 r6883  
    4545     * OSM API URL property key.
    4646     */
    47     static public final String API_URL_PROP = OsmApiUrlInputPanel.class.getName() + ".apiUrl";
     47    public static final String API_URL_PROP = OsmApiUrlInputPanel.class.getName() + ".apiUrl";
    4848
    4949    private JLabel lblValid;
     
    241241    }
    242242
    243     static private class ApiUrlValidator extends AbstractTextComponentValidator {
     243    private static class ApiUrlValidator extends AbstractTextComponentValidator {
    244244        public ApiUrlValidator(JTextComponent tc) throws IllegalArgumentException {
    245245            super(tc);
  • trunk/src/org/openstreetmap/josm/gui/preferences/server/ProxyPreferencesPanel.java

    r6643 r6883  
    7272         * @return The proxy policy matching the given name, or {@code null}
    7373         */
    74         static public ProxyPolicy fromName(String policyName) {
     74        public static ProxyPolicy fromName(String policyName) {
    7575            if (policyName == null) return null;
    7676            policyName = policyName.trim().toLowerCase();
Note: See TracChangeset for help on using the changeset viewer.