Skip to content

Commit 56f5de9

Browse files
committed
Minor change
1 parent 6638a7d commit 56f5de9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/freenow/apis/phrase/api/localedownload/PhraseLocaleDownloadAPI.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,15 @@ public byte[] downloadLocale(final String projectId, final String branch, final
115115

116116
final URIBuilder builder = createUriBuilder(requestPath, parameters);
117117

118-
final String requestPathWithTags = requestPath.concat(getNonNullString(tags));
118+
final String requestPathEtagCacheKey = requestPath.concat(getNonNullString(tags));
119119

120-
final HttpEntity<Object> requestEntity = createHttpEntity(requestPathWithTags);
120+
final HttpEntity<Object> requestEntity = createHttpEntity(requestPathEtagCacheKey);
121121

122122
final URI uri = builder.build();
123123

124124
final ResponseEntity<byte[]> responseEntity = requestPhrase(requestEntity, uri, byte[].class);
125125

126-
return handleResponse(projectId, requestPathWithTags, responseEntity);
126+
return handleResponse(projectId, requestPathEtagCacheKey, responseEntity);
127127

128128
}
129129
catch (final URISyntaxException e)

0 commit comments

Comments
 (0)