The rewritten EventDispatcher (FELIX-5) was using equals() instead of == to
compare listeners because the old dispatching mechanism also did so. The
difference, however, was that the old mechanism wrapped listeners and
implemented equals() to do an == comparison on the original listener. Since
the new EventDispatcher does not need to wrap listeners, it should just
use == instead of equals(). This modification implements that change.


git-svn-id: https://svn.apache.org/repos/asf/incubator/felix/trunk@432594 13f79535-47bb-0310-9956-ffa450edef68
1 file changed