From 9c9b1b9f8aadcca6e77c7d54f9a0a3f2c87e638b Mon Sep 17 00:00:00 2001 From: Cody Constine Date: Fri, 13 Dec 2024 12:31:41 -0700 Subject: [PATCH] Adding new constructor to rotatingCloudEncryptionProvider --- .../reader/RotatingCloudEncryptionKeyApiProvider.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/uid2/operator/reader/RotatingCloudEncryptionKeyApiProvider.java b/src/main/java/com/uid2/operator/reader/RotatingCloudEncryptionKeyApiProvider.java index 45aff8e9a..2b4d1b10d 100644 --- a/src/main/java/com/uid2/operator/reader/RotatingCloudEncryptionKeyApiProvider.java +++ b/src/main/java/com/uid2/operator/reader/RotatingCloudEncryptionKeyApiProvider.java @@ -17,13 +17,11 @@ public class RotatingCloudEncryptionKeyApiProvider extends RotatingCloudEncrypti private static final Logger LOGGER = LoggerFactory.getLogger(RotatingCloudEncryptionKeyApiProvider.class); public RotatingCloudEncryptionKeyApiProvider(DownloadCloudStorage fileStreamProvider, StoreScope scope) { - super(fileStreamProvider, scope); - this.reader = new ApiStoreReader<>(fileStreamProvider, scope, new CloudEncryptionKeyParser(), "cloud_encryption_keys"); + super(fileStreamProvider, scope, new ApiStoreReader<>(fileStreamProvider, scope, new CloudEncryptionKeyParser(), "cloud_encryption_keys")); } public RotatingCloudEncryptionKeyApiProvider(DownloadCloudStorage fileStreamProvider, StoreScope scope, ApiStoreReader> reader) { - super(fileStreamProvider, scope); - this.reader = reader; + super(fileStreamProvider, scope, reader); }