Use Generics in the class definition of link to define Action and Interaction

Bug #692221 reported by arno_b
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Malai
Fix Released
Medium
arno_b

Bug Description

public class Link<A extends Action, I extends Interaction> {
}

It should work. It will permits the definition of generic getAction and getInteraction.
Maybe the instantiation of the action and the interaction can be defined like that as well.

arno_b (arno.b)
Changed in malai:
assignee: nobody → arno_b (arno.b)
arno_b (arno.b)
Changed in malai:
status: Triaged → Fix Committed
arno_b (arno.b)
Changed in malai:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.