Issue Type: Bug Bug
Affects Versions: 8.4
Assignee: Unassigned
Components: swing
Created: 12/Dec/12 8:35 AM
Description:

In code of AbstractMapPane, there is:

---------------
/**

  • Called when a map layer has been removed
    */
    @Override
    public void layerRemoved(final MapLayerListEvent event) {
    [...]

final Layer layer = event.getElement();

if (layer instanceof ComponentListener) { this.addComponentListener((ComponentListener) layer); }

[...]
}

---------------
I am convinced what is expected to be done here is a 'removeComponentListener' and not 'addComponentListener'

Or have I missed something ?
---------------
Happy coding.

Environment: Windows XP 32bits, jdk1.7.0_07
Project: GeoTools
Priority: Minor Minor
Reporter: Pierre Beule
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to