Component registration info - getLifecycleAction() return type

This commit is contained in:
Emmanuel BENOîT 2015-09-14 09:07:15 +02:00
parent d502d6f6b9
commit aa3ee13f66

View file

@ -387,7 +387,7 @@ public final class NewComponentInfo< T >
* the lifecycle stage for which the action must be returned
* @return the action corresponding to the specified lifecycle stage
*/
public ThrowingConsumer< ? > getLifecycleAction( final LifecycleStage stage )
public ThrowingConsumer< ? super T > getLifecycleAction( final LifecycleStage stage )
{
return this.lcActions.get( stage );
}