@@ -696,10 +696,8 @@ public async Task CopyObjectAsync(CopyObjectArgs args, CancellationToken cancell
696696 throw new InvalidDataException ( $ "Specified byte range ({ args . SourceObject
697697 . CopyOperationConditions
698698 . byteRangeStart . ToString ( CultureInfo . InvariantCulture ) } -{ args . SourceObject
699- . CopyOperationConditions . byteRangeEnd . ToString ( CultureInfo . InvariantCulture )
700- } ) does not fit within source object (size={ args . SourceObjectInfo . Size
701- . ToString ( CultureInfo . InvariantCulture )
702- } )") ;
699+ . CopyOperationConditions . byteRangeEnd . ToString ( CultureInfo . InvariantCulture ) } ) does not fit within source object (size={ args . SourceObjectInfo . Size
700+ . ToString ( CultureInfo . InvariantCulture ) } )" ) ;
703701
704702 if ( copySize > Constants . MaxSingleCopyObjectSize ||
705703 ( srcByteRangeSize > 0 &&
@@ -933,7 +931,9 @@ private async Task<IDictionary<int, string>> PutObjectPartAsync(PutObjectPartArg
933931 numPartsUploaded ++ ;
934932 totalParts [ partNumber - 1 ] = new Part
935933 {
936- PartNumber = partNumber , ETag = etag , Size = ( long ) expectedReadSize
934+ PartNumber = partNumber ,
935+ ETag = etag ,
936+ Size = ( long ) expectedReadSize
937937 } ;
938938 etags [ partNumber ] = etag ;
939939 if ( ! dataToCopy . IsEmpty ) progressReport . TotalBytesTransferred += dataToCopy . Length ;
@@ -1026,7 +1026,9 @@ private async Task MultipartCopyUploadAsync(MultipartCopyUploadArgs args,
10261026
10271027 totalParts [ partNumber - 1 ] = new Part
10281028 {
1029- PartNumber = partNumber , ETag = cpPartResult . ETag , Size = ( long ) expectedReadSize
1029+ PartNumber = partNumber ,
1030+ ETag = cpPartResult . ETag ,
1031+ Size = ( long ) expectedReadSize
10301032 } ;
10311033 }
10321034
0 commit comments