[ 
https://issues.apache.org/jira/browse/PIVOT-611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12902830#action_12902830
 ] 

Greg Brown commented on PIVOT-611:
----------------------------------

I don't see any harm in adding this method, but I am curious about your use 
case. Under what circumstances might you not know whether a listener has 
already been added/removed or not?


> add a method hasListener() in ListenerList object
> -------------------------------------------------
>
>                 Key: PIVOT-611
>                 URL: https://issues.apache.org/jira/browse/PIVOT-611
>             Project: Pivot
>          Issue Type: Improvement
>    Affects Versions: 1.5
>            Reporter: A.J.
>            Priority: Minor
>
> there is no easy way to determine wether a listener has already been added to 
> a listener list (except by getting an iterator and traversing the list).
> it would be convenient to have 'hasListener' method in the ListenerList class 
> that encapsulates this.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to