Issue Type: Improvement Improvement
Assignee: Unassigned
Components: Core
Created: 24/May/13 3:00 PM
Description:

In my project i want to pass a List of InjectableStep (which is a marker interface).
But i cannot pass my List<? super InjectableStep> or even List to the constructor of InstanceStepsFactory. It always calls the Ctor with the Object... parameter till I use the workaround and cast my List to List. I don't think that someone will provide a step implementationclass which is derived from java.util.List so the downside of a cast needed in this rare situation is very small.

See http://stackoverflow.com/a/252860/1325574 for further details of the "Producer Extends Consumer Super" idea.

See also https://github.com/jbehave/jbehave-core/pull/47

Project: JBehave
Priority: Trivial Trivial
Reporter: Sebastian Sickelmann
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to