mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 01:49:49 -05:00
Use ArrayList instead of LinkedList
This commit is contained in:
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;
|
||||
|
||||
+1
-1
@@ -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) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user