FLUID-2605: Semantics for event removal are inconsistent

Metadata

Source
FLUID-2605
Type
Bug
Priority
Major
Status
Closed
Resolution
Incomplete
Assignee
Colin Clark
Reporter
Antranig Basman
Created
2009-04-15T14:54:05.000-0400
Updated
2011-02-28T16:45:16.235-0500
Versions
  1. 1.0
Fixed Versions
  1. 1.1
Component
  1. Framework

Description

The current syntax for removeListener is eventFirer.removeListener(listener) - however, this is not fully integrated with the concept of a "listener namespace" - it should be possible to remove a listener knowing only its namespace. This could be done either by extending the argument list to eventFirer.removeListener(listener, namespace) or overloading on the type of the first argument.

Comments

  • Antranig Basman commented 2009-04-15T14:57:55.000-0400

    Looking at the code, it seems that the "overload" option is already implemented. This is really a documentation issue 😛

  • Michelle D'Souza commented 2011-02-28T16:45:16.227-0500

    Closing issues that were fixed in 1.1