From dccdb71d399b3acd62bf4a98b77683f02226376b Mon Sep 17 00:00:00 2001 From: LiuZihan <1353843969@qq.com> Date: Sun, 24 May 2026 17:27:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=20'project/ExitCommand.java'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/ExitCommand.java | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 project/ExitCommand.java diff --git a/project/ExitCommand.java b/project/ExitCommand.java deleted file mode 100644 index 2aead47..0000000 --- a/project/ExitCommand.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.example.moviecli.command; - -import com.example.moviecli.repository.MovieRepository; -import com.example.moviecli.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, MovieRepository repository) { - view.printSuccess("再见!"); - System.exit(0); - } -} \ No newline at end of file