Skip to content

Commit 7f32eac

Browse files
committed
Rename method
1 parent 744943f commit 7f32eac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bukkit-extension/src/main/java/dev/themeinerlp/plugindebug/BukkitDebugBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public BukkitDebugBuilder collectLatestSpigotLog() throws IOException {
4747
public BukkitDebugBuilder defaultPaperDebugInformation() throws IOException {
4848
var tempLogFile = Files.createTempFile(tempFile, ".yaml");
4949
var plugins = Arrays.asList(Bukkit.getServer().getPluginManager().getPlugins());
50-
plugins.sort(this::sortPluginABC);
50+
plugins.sort(this::sortPluginByName);
5151
var debugInformation = new YamlConfiguration();
5252
debugInformation.set("server.version", Bukkit.getVersion());
5353
debugInformation.set("server.plugins", plugins.size());
@@ -85,7 +85,7 @@ public BukkitDebugBuilder defaultPaperDebugInformation() throws IOException {
8585
return this;
8686
}
8787

88-
private int sortPluginABC(@NotNull Plugin A, @NotNull Plugin B) {
88+
private int sortPluginByName(@NotNull Plugin A, @NotNull Plugin B) {
8989
return A.getName().compareTo(B.getName());
9090
}
9191

0 commit comments

Comments
 (0)