Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 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

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)

comment:1 by stoecker, 9 years ago

Resolution: fixed
Status: newclosed

In 10332/josm:

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

comment:2 by stoecker, 9 years ago

See #12932 for first results :-)

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.