@@ -184,7 +184,7 @@ public synchronized final long getHandle() {
184184 private final T actionTypeInstance ;
185185 private final String actionName ;
186186 private long handle ;
187- private final GoalCallback <? extends GoalRequestDefinition > goalCallback ;
187+ private final GoalCallback <? extends GoalRequestDefinition < T > > goalCallback ;
188188 private final CancelCallback <T > cancelCallback ;
189189 private final Consumer <ActionServerGoalHandle <T >> acceptedCallback ;
190190
@@ -225,7 +225,7 @@ public ActionServerImpl(
225225 final WeakReference <Node > nodeReference ,
226226 final Class <T > actionType ,
227227 final String actionName ,
228- final GoalCallback <? extends GoalRequestDefinition > goalCallback ,
228+ final GoalCallback <? extends GoalRequestDefinition < T > > goalCallback ,
229229 final CancelCallback <T > cancelCallback ,
230230 final Consumer <ActionServerGoalHandle <T >> acceptedCallback ) throws IllegalArgumentException {
231231 this .nodeReference = nodeReference ;
@@ -302,8 +302,8 @@ public boolean isReady(long waitSetHandle) {
302302
303303 private ActionServerGoalHandle <T > executeGoalRequest (
304304 RMWRequestId rmwRequestId ,
305- GoalRequestDefinition requestMessage ,
306- GoalResponseDefinition responseMessage )
305+ GoalRequestDefinition < T > requestMessage ,
306+ GoalResponseDefinition < T > responseMessage )
307307 {
308308 builtin_interfaces .msg .Time timeRequestHandled = this .clock .now ().toMsg ();
309309 responseMessage .setStamp (timeRequestHandled .getSec (), timeRequestHandled .getNanosec ());
@@ -445,8 +445,8 @@ public void execute() {
445445 Class <? extends GoalRequestDefinition > requestType = this .actionTypeInstance .getSendGoalRequestType ();
446446 Class <? extends GoalResponseDefinition > responseType = this .actionTypeInstance .getSendGoalResponseType ();
447447
448- GoalRequestDefinition requestMessage = null ;
449- GoalResponseDefinition responseMessage = null ;
448+ GoalRequestDefinition < T > requestMessage = null ;
449+ GoalResponseDefinition < T > responseMessage = null ;
450450
451451 try {
452452 requestMessage = requestType .newInstance ();
0 commit comments