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
|
* Base class for the commands to put in the output-device queue
|
||||||
*/
|
*/
|
||||||
public abstract class OutputCommand<T> {
|
public abstract class OutputCommand<T> {
|
||||||
protected final ControllerCallback callback;
|
protected final ControllerCallback<T> callback;
|
||||||
|
|
||||||
protected OutputCommand(ControllerCallback<T> callback) {
|
protected OutputCommand(ControllerCallback<T> callback) {
|
||||||
this.callback = callback;
|
this.callback = callback;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ControllerCallback<T> getCallback () {
|
public ControllerCallback<T> getCallback () {
|
||||||
return this.callback;
|
return callback;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue