mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
Prefer using Collections.emptyList() rather than new ArrayList
This commit is contained in:
6 files changed
+14
-13
No files matched your search
@@ -141,7 +141,7 @@ public class HuskhomesCommand extends CommandBase implements TabCompleter {
|
||||
|
||||
return tabCompletions;
|
||||
} else {
|
||||
return new ArrayList<>();
|
||||
return Collections.emptyList();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user