Modify ↓
#12924 closed enhancement (fixed)
[Patch] Do not use deprecated EditLayerChangedListener any more.
Reported by: | michael2402 | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 16.06 |
Component: | Core | Version: | |
Keywords: | gsoc-core | Cc: | Don-vip, bastiK, stoecker |
Description ¶
I replaced the EditLayerChangedListener by ActiveLayerChangedListener in the JOSM core codebase.
The new add/remove classes throw exceptions if the listener was added twice or if it was removed without being added. This might cause some bug reports but should help us trace down lifecycle issues.
I also changed addActiveLayerChangeListener(..., boolean initalFire) to use two methods instead of the boolean parameter.
Change History (3)
by , 9 years ago
Attachment: | patch-layer-manager-migrate-edit-layer-changed.patch added |
---|
comment:1 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 10332/josm: