Skip to content

Wrong generic type for deques in command README #2462

@AddeusExMachina

Description

@AddeusExMachina

Hi, inside the README.md for the command pattern the Wizard class presents these two instance variables:

private final Deque<Command> undoStack = new LinkedList<>();
private final Deque<Command> redoStack = new LinkedList<>();

The generic type for these deques should be Runnable as it is in the Wizard class under src directory

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions