Changeset 11807 in josm for trunk


Ignore:
Timestamp:
2017-04-01T00:54:34+02:00 (7 years ago)
Author:
Don-vip
Message:

fix PMD violations

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/Highways.java

    r11608 r11807  
    259259                        .build());
    260260            }
    261             // TODO: Check coherence of context against maxspeed
    262             // TODO: Check coherence of context against highway
     261            if (testContextHighway) {
     262                // TODO: Check coherence of context against maxspeed
     263                // TODO: Check coherence of context against highway
     264            }
    263265        }
    264266    }
  • trunk/src/org/openstreetmap/josm/gui/MapView.java

    r11779 r11807  
    477477        try {
    478478            drawMapContent(g);
    479         } catch (RuntimeException e) {
     479        } catch (JosmRuntimeException | IllegalArgumentException | IllegalStateException e) {
    480480            throw BugReport.intercept(e).put("visibleLayers", layerManager::getVisibleLayersInZOrder)
    481481                    .put("temporaryLayers", temporaryLayers);
Note: See TracChangeset for help on using the changeset viewer.