DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42228>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42228

           Summary: removeListener does not decrement counter n
           Product: Batik
           Version: 1.7
          Platform: All
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SVG DOM
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


org.apache.batik.dom.events.EventListenerList#removeListener

if not head. and found listner, we can't return at

-----
 // Listener not present.
 return;
-----

we must decrement counter "n" after remove listener
for keep EventListenerList proper condition.

(if n is not correct, EventSupport#fireEventListeners outputs Exception. )

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to