[ 
http://jira.xwiki.org/jira/browse/XWIKI-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergiu Dumitriu updated XWIKI-1522:
-----------------------------------

    Attachment: XWIKI-1522-2.patch

New version, with several changes:
- Java 1.5 generics and foreach loops
- Removed the WeakReference wrappers, as we don't need those
- Replaced Object[2] with an internal RegisteredListener class
- Fixed a ClassCast bug in 
DefaultObservationManager#removeListener(EventListener)

This should be applied in 1.4, as it requires Java 1.5.

> Rewrite the notification mechanism
> ----------------------------------
>
>                 Key: XWIKI-1522
>                 URL: http://jira.xwiki.org/jira/browse/XWIKI-1522
>             Project: XWiki Core
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.1 M3
>            Reporter: Vincent Massol
>         Assigned To: Vincent Massol
>             Fix For: Future
>
>         Attachments: XWIKI-1522-2.patch, XWIKI-1522.patch
>
>
> Reasons:
> * Complex code
> * Hard to extend
> * Missing OO concepts
> * The code that decides if a notification should be sent doesn't belong to 
> the generic notification mechanism

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to