@@ -151,7 +151,6 @@ public CompletableFuture<PutObjectResponse> putObject(PutObjectRequest putObject
151151 .s3AsyncClient (_wrappedClient )
152152 .cryptoMaterialsManager (_cryptoMaterialsManager )
153153 .secureRandom (_secureRandom )
154- //Debugging: added this line
155154 .instructionFileConfig (_instructionFileConfig )
156155 .build ();
157156
@@ -164,11 +163,9 @@ private CompletableFuture<PutObjectResponse> multipartPutObject(PutObjectRequest
164163 // if the wrappedClient is a CRT, use it
165164 mpuClient = _wrappedClient ;
166165 } else {
167- // else create a default CRT client (debugging: yes goes here)
166+ // else create a default CRT client
168167 mpuClient = S3AsyncClient .crtCreate ();
169168 }
170- //The issue is here: after this step, the instruction file config is null
171- //Debugging: added this line to include the instruction file config
172169 PutEncryptedObjectPipeline pipeline = PutEncryptedObjectPipeline .builder ()
173170 .s3AsyncClient (mpuClient )
174171 .cryptoMaterialsManager (_cryptoMaterialsManager )
@@ -294,9 +291,6 @@ public void close() {
294291 _instructionFileConfig .closeClient ();
295292 }
296293
297- public InstructionFileConfig get_instructionFileConfig () {
298- return _instructionFileConfig ;
299- }
300294
301295 // This is very similar to the S3EncryptionClient builder
302296 // Make sure to keep both clients in mind when adding new builder options
0 commit comments