Changeset 8242 in josm for trunk/src/org


Ignore:
Timestamp:
2015-04-20T23:58:20+02:00 (9 years ago)
Author:
Don-vip
Message:

fix #11360 - do not propose autofix for opening_hours with the same value as before

File:
1 edited

Legend:

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

    r7937 r8242  
    130130         */
    131131        public TestError getTestError(final OsmPrimitive p, final String key) {
    132             if (prettifiedValue == null) {
     132            if (prettifiedValue == null || prettifiedValue.equals(p.get(key))) {
    133133                return new TestError(OpeningHourTest.this, severity, message, 2901, p);
    134134            } else {
Note: See TracChangeset for help on using the changeset viewer.