From 64abbe9654fd3079c5788c461f2c0618e3cb8ec6 Mon Sep 17 00:00:00 2001 From: Songrui <1778280163@qq.com> Date: Fri, 29 May 2026 01:41:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=20'src/main/java/com/example?= =?UTF-8?q?/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 src/main/java/com/example/datacollect/command/ListCommand.java diff --git a/src/main/java/com/example/datacollect/command/ListCommand.java b/src/main/java/com/example/datacollect/command/ListCommand.java deleted file mode 100644 index 8eba2cd..0000000 --- a/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); - } -}