diff --git a/w10/ExitCommand.java b/w10/ExitCommand.java deleted file mode 100644 index 5763f71..0000000 --- a/w10/ExitCommand.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.example.datacollect.command; - -import com.example.datacollect.repository.ArticleRepository; -import com.example.datacollect.view.ConsoleView; - -public class ExitCommand implements Command { - private final ConsoleView view; - - public ExitCommand(ConsoleView view) { - this.view = view; - } - - @Override - public String getName() { - return "exit"; - } - - @Override - public void execute(String[] args, ArticleRepository repository) { - view.printSuccess("Bye!"); - System.exit(0); - } -}