Skip to content

Commit a3a5de7

Browse files
author
Sandeep Kumawat
committed
resolve comments
Signed-off-by: Sandeep Kumawat <skumwt@amazon.com>
1 parent e39ef16 commit a3a5de7

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

server/src/main/java/org/opensearch/common/blobstore/transfer/RemoteTransferContainer.java

+11-9
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,17 @@ public RemoteTransferContainer(
8282
long expectedChecksum,
8383
boolean isRemoteDataIntegritySupported
8484
) {
85-
this.fileName = fileName;
86-
this.remoteFileName = remoteFileName;
87-
this.contentLength = contentLength;
88-
this.failTransferIfFileExists = failTransferIfFileExists;
89-
this.writePriority = writePriority;
90-
this.offsetRangeInputStreamSupplier = offsetRangeInputStreamSupplier;
91-
this.expectedChecksum = expectedChecksum;
92-
this.isRemoteDataIntegritySupported = isRemoteDataIntegritySupported;
93-
this.metadata = null;
85+
this(
86+
fileName,
87+
remoteFileName,
88+
contentLength,
89+
failTransferIfFileExists,
90+
writePriority,
91+
offsetRangeInputStreamSupplier,
92+
expectedChecksum,
93+
isRemoteDataIntegritySupported,
94+
null
95+
);
9496
}
9597

9698
/**

0 commit comments

Comments
 (0)