The execute method of the GarageDoorDownCommand class should call garageDoor.down() instead of garageDoor.up().
In the headfirst.designpatterns.command.remote package in the RemoteLoader class the garageDoor could be set to slot 4 of the remoteControl.
The execute method of the
GarageDoorDownCommandclass should callgarageDoor.down()instead ofgarageDoor.up().In the
headfirst.designpatterns.command.remotepackage in theRemoteLoaderclass thegarageDoorcould be set to slot 4 of theremoteControl.