mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-03 07:13:02 +00:00
removing unwanted modifiers
This commit is contained in:
1 parent
3ae7466647
commit
b9f17824fa
1 file changed
+4
-6
@@ -27,13 +27,11 @@ package com.iluwatar.command;
|
||||
* Interface for Commands.
|
||||
*/
|
||||
public interface Command {
|
||||
void execute(Target target);
|
||||
|
||||
public void execute(Target target);
|
||||
void undo();
|
||||
|
||||
public void undo();
|
||||
|
||||
public void redo();
|
||||
|
||||
public String toString();
|
||||
void redo();
|
||||
|
||||
String toString();
|
||||
}
|
||||
Reference in new issue
Block a user