We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c047d5f commit 8992e46Copy full SHA for 8992e46
src/main/java/com/arangodb/springframework/core/template/CollectionCacheValue.java
@@ -1,7 +1,7 @@
1
package com.arangodb.springframework.core.template;
2
3
-import java.util.ArrayList;
4
import java.util.Collection;
+import java.util.concurrent.CopyOnWriteArrayList;
5
6
import com.arangodb.ArangoCollection;
7
@@ -13,7 +13,7 @@ class CollectionCacheValue {
13
public CollectionCacheValue(final ArangoCollection collection) {
14
super();
15
this.collection = collection;
16
- this.entities = new ArrayList<>();
+ this.entities = new CopyOnWriteArrayList<>();
17
}
18
19
public ArangoCollection getCollection() {
0 commit comments