Changeset 14329 in josm for trunk


Ignore:
Timestamp:
2018-10-14T16:45:08+02:00 (6 years ago)
Author:
Don-vip
Message:

see #16824 - remove unneeded null-check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java

    r14311 r14329  
    11681168        if (tile.hasError() && getDisplaySettings().isShowErrors()) {
    11691169            String errorMessage = tr(tile.getErrorMessage());
    1170             if (errorMessage != null && !errorMessage.startsWith("Error") && !errorMessage.startsWith(tr("Error"))) {
     1170            if (!errorMessage.startsWith("Error") && !errorMessage.startsWith(tr("Error"))) {
    11711171                errorMessage = tr("Error") + ": " + errorMessage;
    11721172            }
Note: See TracChangeset for help on using the changeset viewer.