From fc2bfaaedaa4f9cb38a123cd9eda102ef25abe8d Mon Sep 17 00:00:00 2001 From: Alexandre Carlton Date: Fri, 15 Jul 2022 12:48:36 +1000 Subject: [PATCH] Copy across valueCache in DataLoaderOptions copy constructor This looks like an accidental omission, so we include this along with all the other variables inside this class. --- src/main/java/org/dataloader/DataLoaderOptions.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/dataloader/DataLoaderOptions.java b/src/main/java/org/dataloader/DataLoaderOptions.java index c6d47ca..4c79296 100644 --- a/src/main/java/org/dataloader/DataLoaderOptions.java +++ b/src/main/java/org/dataloader/DataLoaderOptions.java @@ -72,6 +72,7 @@ public DataLoaderOptions(DataLoaderOptions other) { this.cachingExceptionsEnabled = other.cachingExceptionsEnabled; this.cacheKeyFunction = other.cacheKeyFunction; this.cacheMap = other.cacheMap; + this.valueCache = other.valueCache; this.maxBatchSize = other.maxBatchSize; this.statisticsCollector = other.statisticsCollector; this.environmentProvider = other.environmentProvider;