Update IntCache.java
This commit is contained in:
@@ -8,8 +8,6 @@ import java.util.List;
|
|||||||
// NeonPaper end
|
// NeonPaper end
|
||||||
|
|
||||||
public class IntCache {
|
public class IntCache {
|
||||||
|
|
||||||
private static int a = 256;
|
|
||||||
// NeonPaper start - Refactored IntCache to be thread local instead of static
|
// NeonPaper start - Refactored IntCache to be thread local instead of static
|
||||||
private static final ThreadLocal<IntCache> caches = new ThreadLocal<IntCache>() {
|
private static final ThreadLocal<IntCache> caches = new ThreadLocal<IntCache>() {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user