Ignore:
Timestamp:
2016-05-15T16:37:33+02:00 (8 years ago)
Author:
Don-vip
Message:

findbugs - SF_SWITCH_NO_DEFAULT + various sonar fixes

File:
1 edited

Legend:

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

    r10216 r10217  
    311311     */
    312312    protected void fetchPrimitives(Set<Long> ids, OsmPrimitiveType type, ProgressMonitor progressMonitor) throws OsmTransferException {
    313         String msg = "";
     313        String msg;
    314314        final String baseUrl = getBaseUrl();
    315315        switch (type) {
     
    317317            case WAY:      msg = tr("Fetching a package of ways from ''{0}''",      baseUrl); break;
    318318            case RELATION: msg = tr("Fetching a package of relations from ''{0}''", baseUrl); break;
     319            default: throw new AssertionError();
    319320        }
    320321        progressMonitor.setTicksCount(ids.size());
Note: See TracChangeset for help on using the changeset viewer.