File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
src/main/java/lol/hyper/anarchystats Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3737import java .nio .file .Path ;
3838import java .nio .file .Paths ;
3939import java .util .ArrayList ;
40+ import java .util .List ;
4041import java .util .logging .Logger ;
4142
4243public final class AnarchyStats extends JavaPlugin {
4344
4445 public String worldSize ;
4546 public final File configFile = new File (this .getDataFolder (), "config.yml" );
4647 public final Logger logger = this .getLogger ();
47- public final ArrayList <Path > worldPaths = new ArrayList <>();
48+ public final List <Path > worldPaths = new ArrayList <>();
4849 public final int CONFIG_VERSION = 2 ;
4950 public final MiniMessage miniMessage = MiniMessage .miniMessage ();
5051 private BukkitAudiences adventure ;
Original file line number Diff line number Diff line change 2222import net .kyori .adventure .platform .bukkit .BukkitAudiences ;
2323import net .kyori .adventure .text .Component ;
2424import net .kyori .adventure .text .format .NamedTextColor ;
25- import org .bukkit .Bukkit ;
2625import org .bukkit .command .Command ;
2726import org .bukkit .command .CommandSender ;
2827import org .jetbrains .annotations .NotNull ;
Original file line number Diff line number Diff line change 2626import java .nio .file .SimpleFileVisitor ;
2727import java .nio .file .attribute .BasicFileAttributes ;
2828import java .text .DecimalFormat ;
29- import java .util .ArrayList ;
29+ import java .util .List ;
3030import java .util .concurrent .atomic .AtomicLong ;
3131
3232public class WorldSize {
@@ -38,7 +38,7 @@ public class WorldSize {
3838 * <p>
3939 * https://stackoverflow.com/a/19877372
4040 */
41- public static long getWorldSize (ArrayList <Path > paths ) {
41+ public static long getWorldSize (List <Path > paths ) {
4242
4343 final AtomicLong size = new AtomicLong (0 );
4444
You can’t perform that action at this time.
0 commit comments