From a8990a37cec6a2bf333aefaba86f3c9b5b015d86 Mon Sep 17 00:00:00 2001 From: Shaddow-es Date: Tue, 22 Dec 2015 16:02:19 +0100 Subject: [PATCH] Update GarageDoorDownCommand.java Action in GarageDoor should be down instead of up --- .../designpatterns/command/remote/GarageDoorDownCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/headfirst/designpatterns/command/remote/GarageDoorDownCommand.java b/src/headfirst/designpatterns/command/remote/GarageDoorDownCommand.java index f10af51f..20cca9fa 100755 --- a/src/headfirst/designpatterns/command/remote/GarageDoorDownCommand.java +++ b/src/headfirst/designpatterns/command/remote/GarageDoorDownCommand.java @@ -8,6 +8,6 @@ public GarageDoorDownCommand(GarageDoor garageDoor) { } public void execute() { - garageDoor.up(); + garageDoor.down(); } }