From aa3ee13f669e30d0b7b5236e56c530c356aaeb04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Mon, 14 Sep 2015 09:07:15 +0200 Subject: [PATCH] Component registration info - getLifecycleAction() return type --- src/main/java/info/ebenoit/ebul/cmp/NewComponentInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/info/ebenoit/ebul/cmp/NewComponentInfo.java b/src/main/java/info/ebenoit/ebul/cmp/NewComponentInfo.java index e463f7b..25e5832 100644 --- a/src/main/java/info/ebenoit/ebul/cmp/NewComponentInfo.java +++ b/src/main/java/info/ebenoit/ebul/cmp/NewComponentInfo.java @@ -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 ); }