removing unwanted modifiers

This commit is contained in:
Rakesh Venkatesh committed 2020-08-03 17:38:03 +02:00
1 parent 3ae7466647
commit b9f17824fa
1 file changed
+4 -6
@@ -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();
} }