Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#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


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.

Attachments (1)

patch-layer-manager-migrate-edit-layer-changed.patch (39.5 KB) - added by michael2402 5 years ago.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by michael2402

comment:1 Changed 5 years ago by stoecker

Resolution: fixed
Status: newclosed

In 10332/josm:

Do not use deprecated EditLayerChangedListener - patch my Michael Zangl - gsoc-core - fix #12924

comment:2 Changed 5 years ago by stoecker

See #12932 for first results :-)

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.