Skip to content

Commit

Permalink
Copy across valueCache in DataLoaderOptions copy constructor
Browse files Browse the repository at this point in the history
This looks like an accidental omission, so we include this along with
all the other variables inside this class.
  • Loading branch information
AlexandreCarlton committed Jul 15, 2022
1 parent d42e37e commit fc2bfaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/dataloader/DataLoaderOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fc2bfaa

Please sign in to comment.