diff --git a/build.gradle.kts b/build.gradle.kts index 47b465b..fd9eb02 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -38,7 +38,7 @@ object Extras { // set for the project const val description = "Utilities for use within Java projects" const val group = "com.dorkbox" - const val version = "1.8" + const val version = "1.8.1" // set as project.ext const val name = "Utilities" diff --git a/src/dorkbox/util/collections/ConcurrentEntry.java b/src/dorkbox/util/collections/ConcurrentEntry.java index 22007dc..8163e89 100644 --- a/src/dorkbox/util/collections/ConcurrentEntry.java +++ b/src/dorkbox/util/collections/ConcurrentEntry.java @@ -27,8 +27,8 @@ public class ConcurrentEntry { private final T value; - private ConcurrentEntry next; - private ConcurrentEntry prev; + private volatile ConcurrentEntry next; + private volatile ConcurrentEntry prev; public ConcurrentEntry(T value, ConcurrentEntry next) { @@ -55,7 +55,7 @@ class ConcurrentEntry { // can not nullify references to help GC since running iterators might not see the entire set // if this element is their current element //next = null; - //predecessor = null; + //prev = null; } public