Another (final) Generics type fix
parent
2336d44ffc
commit
853a6b5684
|
@ -6,13 +6,13 @@ import meerkat.voting.controller.callbacks.ControllerCallback;
|
|||
* Base class for the commands to put in the output-device queue
|
||||
*/
|
||||
public abstract class OutputCommand<T> {
|
||||
protected final ControllerCallback callback;
|
||||
protected final ControllerCallback<T> callback;
|
||||
|
||||
protected OutputCommand(ControllerCallback<T> callback) {
|
||||
this.callback = callback;
|
||||
}
|
||||
|
||||
public ControllerCallback<T> getCallback () {
|
||||
return this.callback;
|
||||
return callback;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue