File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
rcljava/src/main/java/org/ros2/rcljava/action Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -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 < T >> goalCallback ;
187+ private final GoalCallback goalCallback ;
188188 private final CancelCallback <T > cancelCallback ;
189189 private final Consumer <ActionServerGoalHandle <T >> acceptedCallback ;
190190
@@ -329,8 +329,7 @@ private ActionServerGoalHandle<T> executeGoalRequest(
329329 }
330330
331331 // Call user callback
332- GoalCallback callback = this .goalCallback ;
333- GoalCallback .GoalResponse response = callback .handleGoal (requestMessage );
332+ GoalCallback .GoalResponse response = this .goalCallback .handleGoal (requestMessage );
334333
335334 boolean accepted = GoalCallback .GoalResponse .ACCEPT == response ;
336335 responseMessage .accept (accepted );
You can’t perform that action at this time.
0 commit comments