Skip to content

Commit 741cbb5

Browse files
committed
Merge branch 'main' into feat-commands
2 parents 90fe7f2 + aed04a1 commit 741cbb5

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/main/java/org/hydev/mcpm/client/commands/controllers/ListController.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package org.hydev.mcpm.client.commands.controllers;
22

3-
import org.hydev.mcpm.client.database.ListAllBoundary;
4-
import org.hydev.mcpm.client.database.boundary.CheckForUpdatesBoundary;
3+
import org.hydev.mcpm.client.list.ListAllBoundary;
4+
import org.hydev.mcpm.client.updater.CheckForUpdatesBoundary;
55

66
import java.util.List;
77
import java.util.function.Consumer;
@@ -12,7 +12,6 @@
1212
* Controller class for the ListAll use case.
1313
*
1414
* @author Kevin Chen
15-
* @author Azalea
1615
*/
1716
public class ListController {
1817
private final ListAllBoundary listAllBoundary;
@@ -38,8 +37,8 @@ public void listAll(String parameter, Consumer<String> log) {
3837
var list = listAllBoundary.listAll(parameter, checkForUpdatesBoundary);
3938

4039
// Tabulate result
41-
var table = tabulate(list.stream().map(p -> List.of("&a" + p.name(), "&e"
42-
+ p.getFirstAuthor(), p.version())).toList(),
40+
var table = tabulate(
41+
list.stream().map(p -> List.of("&a" + p.name(), "&e" + p.getFirstAuthor(), p.version())).toList(),
4342
List.of(":Name", "Author", "Version:"));
4443

4544
log.accept(table);

src/main/java/org/hydev/mcpm/client/list/ListAllBoundary.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package org.hydev.mcpm.client.list;
22

3-
import org.hydev.mcpm.client.database.boundary.CheckForUpdatesBoundary;
3+
import org.hydev.mcpm.client.updater.CheckForUpdatesBoundary;
44
import org.hydev.mcpm.client.models.PluginYml;
55

66
import java.util.List;

0 commit comments

Comments
 (0)