Skip to content

Commit 7a46147

Browse files
authored
Merge pull request #370 from GraciesPadre/rename_stuff_inner_write_job
Renaming a variable to better reflect what it is.
2 parents e1b4511 + 391de5a commit 7a46147

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ds3-sdk/src/main/java/com/spectralogic/ds3client/helpers/Ds3ClientHelpersImpl.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,13 @@ private Ds3ClientHelpers.Job innerStartWriteJob(final String bucket,
117117
request.withMaxUploadSize(options.getMaxUploadSize());
118118
}
119119

120-
final PutBulkJobSpectraS3Response prime = this.client.putBulkJobSpectraS3(
120+
final PutBulkJobSpectraS3Response putBulkJobSpectraS3Response = this.client.putBulkJobSpectraS3(
121121
request);
122122

123123

124124
return new WriteJobImpl(
125125
this.client,
126-
prime.getResult(),
126+
putBulkJobSpectraS3Response.getResult(),
127127
this.retryAfter,
128128
options.getChecksumType(),
129129
this.objectTransferAttempts,
@@ -149,15 +149,15 @@ public Ds3ClientHelpers.Job startReadJob(final String bucket, final Iterable<Ds3
149149
private Ds3ClientHelpers.Job innerStartReadJob(final String bucket, final Iterable<Ds3Object> objectsToRead, final ReadJobOptions options)
150150
throws IOException {
151151
final List<Ds3Object> objects = Lists.newArrayList(objectsToRead);
152-
final GetBulkJobSpectraS3Response prime = this.client.getBulkJobSpectraS3(new GetBulkJobSpectraS3Request(bucket, objects)
152+
final GetBulkJobSpectraS3Response getBulkJobSpectraS3Response = this.client.getBulkJobSpectraS3(new GetBulkJobSpectraS3Request(bucket, objects)
153153
.withChunkClientProcessingOrderGuarantee(JobChunkClientProcessingOrderGuarantee.NONE)
154154
.withPriority(options.getPriority()).withName(options.getName()));
155155

156156
final ImmutableMultimap<String, Range> partialRanges = PartialObjectHelpers.getPartialObjectsRanges(objects);
157157

158158
return new ReadJobImpl(
159159
this.client,
160-
prime.getResult(),
160+
getBulkJobSpectraS3Response.getResult(),
161161
partialRanges,
162162
this.objectTransferAttempts,
163163
this.retryAfter,

0 commit comments

Comments
 (0)