Ignore:
Timestamp:
2016-05-15T14:48:06+02:00 (8 years ago)
Author:
Don-vip
Message:

findbugs - SF_SWITCH_NO_DEFAULT + various sonar fixes

Location:
trunk/src/org/openstreetmap/josm/io/imagery
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/imagery/ImageryReader.java

    r9977 r10216  
    228228                }
    229229                break;
     230            default: // Do nothing
    230231            }
    231232            /**
     
    433434                    entry.setEpsg4326To3857Supported(Boolean.valueOf(accumulator.toString()));
    434435                    break;
     436                default: // Do nothing
    435437                }
    436438                break;
  • trunk/src/org/openstreetmap/josm/io/imagery/WMSImagery.java

    r10212 r10216  
    5555    private List<String> formats;
    5656
     57    /**
     58     * Returns the list of layers.
     59     * @return the list of layers
     60     */
    5761    public List<LayerDetails> getLayers() {
    5862        return layers;
    5963    }
    6064
     65    /**
     66     * Returns the service URL.
     67     * @return the service URL
     68     */
    6169    public URL getServiceUrl() {
    6270        return serviceUrl;
    6371    }
    6472
     73    /**
     74     * Returns the list of supported formats.
     75     * @return the list of supported formats
     76     */
    6577    public List<String> getFormats() {
    6678        return Collections.unmodifiableList(formats);
     
    311323                    content.append(node.getNodeValue());
    312324                    break;
     325                default: // Do nothing
    313326            }
    314327        }
     
    371384                return this.name;
    372385        }
    373 
    374386    }
    375387}
Note: See TracChangeset for help on using the changeset viewer.