Changeset 10802 in josm for trunk


Ignore:
Timestamp:
2016-08-15T14:21:51+02:00 (8 years ago)
Author:
Don-vip
Message:

fix #13346 - NPE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/OverpassTurboQueryWizard.java

    r10733 r10802  
    3838
    3939    private OverpassTurboQueryWizard() {
    40 
     40        if (engine == null) {
     41            throw new IllegalStateException("Failed to retrieve JavaScript engine");
     42        }
    4143        try (CachedFile file = new CachedFile("resource://data/overpass-wizard.js");
    4244             Reader reader = file.getContentReader()) {
Note: See TracChangeset for help on using the changeset viewer.