Hide Forgot
The IEventListener interface is declared as following: public interface IEventListener { void eventRaised(Event ev, Object sender, EventArgs args); } For specific events, such as PropertyChangedEvent triggered by following code within a model class: getPropertyChangedEvent().raise(this, e); where "e" is PropertyChangedEventArgs, client code will have to do unnecessary typecast like this: ... public void eventRaised(Event ev, Object sender, EventArgs args) { PropertyChangedEventArgs actualArgs = (PropertyChangedEventArgs) args; } ... To eliminate unnecessary typecasts as shown above, the IEventListener interface should be improved (i.e. parametrized).
in the meantime, patches to supress findbug warnings are submitted. When this RFE is resolved, the patches can be reverted. http://gerrit.ovirt.org/#/c/21797/
http://gerrit.ovirt.org/#/c/21838/
http://gerrit.ovirt.org/#/c/21847/
http://gerrit.ovirt.org/#/c/21882/
http://gerrit.ovirt.org/#/c/21903/ http://gerrit.ovirt.org/#/c/21957/
http://gerrit.ovirt.org/#/c/21975/
http://gerrit.ovirt.org/#/c/22089/
http://gerrit.ovirt.org/#/c/22230/
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.