removing unwanted modifiers

This commit is contained in:
Rakesh Venkatesh
2020-08-03 17:38:03 +02:00
parent 3ae7466647
commit b9f17824fa

View File

@ -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();
} }