Another (final) Generics type fix

vbdev2
Hai Brenner 2016-07-04 16:05:52 +03:00
parent 2336d44ffc
commit 853a6b5684
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}