Ignore:
Timestamp:
2020-11-23T16:01:19+01:00 (3 years ago)
Author:
Don-vip
Message:

fix #20131 - fix unit tests and codestyle violations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/DataSet.java

    r17283 r17332  
    765765        OsmPrimitive result = getPrimitiveById(primitiveId);
    766766        if (result == null && primitiveId != null) {
    767             Logging.warn(tr(
     767            Logging.error(new IllegalStateException(tr(
    768768                    "JOSM expected to find primitive [{0} {1}] in dataset but it is not there. Please report this "
    769769                            + "at {2}. This is not a critical error, it should be safe to continue in your work.",
    770                     primitiveId.getType(), Long.toString(primitiveId.getUniqueId()), Config.getUrls().getJOSMWebsite()));
    771             Logging.error(new Exception());
     770                    primitiveId.getType(), Long.toString(primitiveId.getUniqueId()), Config.getUrls().getJOSMWebsite())));
    772771        }
    773772
Note: See TracChangeset for help on using the changeset viewer.