package seedu.address.logic.commands;

public class RedoCommand {

}

@@ -36,34 +36,887 @@
 s;%0A%0A
-public class RedoCommand %7B%0A
+import seedu.address.model.TaskManager;%0A%0Apublic class RedoCommand extends Command %7B%0A%0A    public static final String COMMAND_WORD = %22redo%22;%0A    public static final String MESSAGE_USAGE = COMMAND_WORD;%0A    public static final String MESSAGE_SUCCESS = %22Successfully redo previous change%22;%0A    public static final String MESSAGE_NO_CHANGE = %22No recent change to redo%22;%0A%0A    /**%0A     * Default empty constructor.%0A     */%0A    public RedoCommand() %7B%0A    %7D%0A%0A    public CommandResult execute() %7B%0A        if (!model.getFlag().equals(%22redo copy%22)) %7B%0A            return new CommandResult(MESSAGE_NO_CHANGE);%0A        %7D else %7B%0A            TaskManager temp = new TaskManager(model.getTaskManager());%0A            model.resetData(model.getCopy());%0A            model.updateFlag(%22undo copy%22);%0A            model.updateCopy(temp);%0A            return new CommandResult(MESSAGE_SUCCESS);%0A        %7D%0A    %7D
 %0A%7D%0A

Implement Redo Command