Use ArrayList instead of LinkedList

This commit is contained in:
Ghost_chu committed 2021-02-08 11:45:27 +08:00
1 parent 048e2d9e64
commit 9107c49f58
2 files changed
+2 -2

No files matched your search

@@ -71,7 +71,7 @@ public class Util {
private static final EnumMap<Material, Integer> customStackSize = new EnumMap<>(Material.class);
private static final EnumSet<Material> shoppables = EnumSet.noneOf(Material.class);
private static final List<BlockFace> verticalFacing = Collections.unmodifiableList(Arrays.asList(BlockFace.NORTH, BlockFace.EAST, BlockFace.SOUTH, BlockFace.WEST));
private static final List<String> debugLogs = new LinkedList<>();
private static final List<String> debugLogs = new ArrayList<>();
private static final ReentrantReadWriteLock lock = new ReentrantReadWriteLock();
private static int bypassedCustomStackSize = -1;
private static Yaml yaml = null;
@@ -168,7 +168,7 @@ public class QuickShopItemMatcherImpl implements ItemMatcher {
private static class ItemMetaMatcher {
private final List<Matcher> matcherList = new LinkedList<>();
private final List<Matcher> matcherList = new ArrayList<>();
public ItemMetaMatcher(@NotNull ConfigurationSection itemMatcherConfig, @NotNull QuickShopItemMatcherImpl itemMatcher) {