Add clone() and toString() to all events

Description

Need to add a clone() method to all event classes that have custom properties so that when redispatched the event keeps these properties.

Best practices would have you add the clone() and toString() methods to all events.

Without the clone() method in the event classes, your redispatched event will be of standard type Event and no longer the typed event (eg: XIFFErrorEvent) which leaves you without the custom properties (eg:errorMessage).

Environment

None

Attachments

1

Activity

Juga Paazmaya 
July 16, 2009 at 2:08 AM

Applied

Juga Paazmaya 
June 26, 2009 at 9:04 PM

Could this be applied?
The provider of the patch (me) has signed and sent the contributor agreement.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created February 23, 2009 at 11:13 PM
Updated September 5, 2012 at 9:19 AM
Resolved July 16, 2009 at 2:08 AM