Ignore:
Timestamp:
2016-07-26T00:40:25+02:00 (4 years ago)
Author:
Don-vip
Message:

sonar - squid:S2259 - Null pointers should not be dereferenced

File:
1 edited

Legend:

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

    r10235 r10644  
    6969            }
    7070            String query = (String) result;
    71             query = query.replace("[bbox:{{bbox}}]", "");
     71            if (query != null) {
     72                query = query.replace("[bbox:{{bbox}}]", "");
     73            }
    7274            return query;
    7375        } catch (NoSuchMethodException e) {
Note: See TracChangeset for help on using the changeset viewer.