removing unwanted modifiers
This commit is contained in:
@ -27,13 +27,11 @@ package com.iluwatar.command;
|
|||||||
* Interface for Commands.
|
* Interface for Commands.
|
||||||
*/
|
*/
|
||||||
public interface Command {
|
public interface Command {
|
||||||
|
void execute(Target target);
|
||||||
|
|
||||||
public void execute(Target target);
|
void undo();
|
||||||
|
|
||||||
public void undo();
|
void redo();
|
||||||
|
|
||||||
public void redo();
|
|
||||||
|
|
||||||
public String toString();
|
|
||||||
|
|
||||||
|
String toString();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user