Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
Signed-off-by: Sandeep Kumawat <[email protected]>
  • Loading branch information
Sandeep Kumawat committed Apr 4, 2024
1 parent 18eadef commit a06b7a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class ReadContext {
private final long blobSize;
private final List<StreamPartCreator> asyncPartStreams;
private final String blobChecksum;
private Map<String, String> metadata;
private final Map<String, String> metadata;

public ReadContext(long blobSize, List<StreamPartCreator> asyncPartStreams, String blobChecksum, Map<String, String> metadata) {
this.blobSize = blobSize;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class WriteContext {
private final CheckedConsumer<Boolean, IOException> uploadFinalizer;
private final boolean doRemoteDataIntegrityCheck;
private final Long expectedChecksum;
private Map<String, String> metadata;
private final Map<String, String> metadata;

/**
* Construct a new WriteContext object
Expand Down Expand Up @@ -77,6 +77,7 @@ protected WriteContext(WriteContext writeContext) {
this.uploadFinalizer = writeContext.uploadFinalizer;
this.doRemoteDataIntegrityCheck = writeContext.doRemoteDataIntegrityCheck;
this.expectedChecksum = writeContext.expectedChecksum;
this.metadata = writeContext.getMetadata();
}

/**
Expand Down

0 comments on commit a06b7a0

Please sign in to comment.