From 54ecc6e4ab5dfd511799f38b46963744835c1792 Mon Sep 17 00:00:00 2001 From: Songrui <1778280163@qq.com> Date: Fri, 29 May 2026 00:21:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=20'java-cli/src/main/java/co?= =?UTF-8?q?m/example/datacollect/command/ListCommand.java'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../datacollect/command/ListCommand.java | 23 ------------------- 1 file changed, 23 deletions(-) delete mode 100644 java-cli/src/main/java/com/example/datacollect/command/ListCommand.java diff --git a/java-cli/src/main/java/com/example/datacollect/command/ListCommand.java b/java-cli/src/main/java/com/example/datacollect/command/ListCommand.java deleted file mode 100644 index 8eba2cd..0000000 --- a/java-cli/src/main/java/com/example/datacollect/command/ListCommand.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.example.datacollect.command; - -import com.example.datacollect.model.Article; -import com.example.datacollect.view.ConsoleView; -import java.util.List; - -public class ListCommand implements Command { - private final ConsoleView view; - - public ListCommand(ConsoleView view) { - this.view = view; - } - - @Override - public String getName() { - return "list"; - } - - @Override - public void execute(String[] args, List
articles) { - view.display(articles); - } -}