From 04afd79178f3d09128e0bac3a382be2f28c38123 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 7 Jun 2015 19:56:28 +1000 Subject: [PATCH] Use a Java 6 concurrent collection. --- nms-patches/UserCache.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nms-patches/UserCache.patch b/nms-patches/UserCache.patch index 8db04afc3c..1433fce9f5 100644 --- a/nms-patches/UserCache.patch +++ b/nms-patches/UserCache.patch @@ -5,7 +5,7 @@ private final Map c = Maps.newHashMap(); private final Map d = Maps.newHashMap(); - private final LinkedList e = Lists.newLinkedList(); -+ private final java.util.Deque e = new java.util.concurrent.ConcurrentLinkedDeque(); // CraftBukkit ++ private final java.util.Deque e = new java.util.concurrent.LinkedBlockingDeque(); // CraftBukkit private final MinecraftServer f; protected final Gson b; private final File g;