-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #23860: Duplicate key+value in preset causes an ISE in TagChecker
This fixes the actual issue in TagChecker, but also adds a sanity check to `TaggingPresetPreferenceTestIT` since it is ''usually'' unintended to have duplicate key/values (and it is always a problem if they are different and are `Key` items). The fix for `TagChecker` is just keeping whatever `value` is last. Not ideal, but it should work 99% of the time since an object won't match the preset if we have `highway=footway` and `highway=footway2` as `Key` objects. git-svn-id: https://josm.openstreetmap.de/svn/trunk@19195 0c6e7542-c601-0410-84e7-c038aed88b3b
- Loading branch information
taylor.smock
committed
Aug 14, 2024
1 parent
75a5206
commit eed40d1
Showing
4 changed files
with
130 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters