File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ public void uploadAndDownloadFileSucceeds() throws IOException {
228228 }
229229
230230 @ Test
231- public void uploadAndDownloadFileUseZstdSucceeds () throws IOException {
231+ public void downloadFileUseZstdSucceeds () throws IOException {
232232 BoxAPIConnection api = jwtApiForServiceAccount ();
233233 api .setUseZstdCompression (true );
234234
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ public class BoxAPIConnection {
122122 private int maxRetryAttempts ;
123123 private int connectTimeout ;
124124 private int readTimeout ;
125- private Boolean useZstdCompression ;
125+ private boolean useZstdCompression ;
126126 private final List <BoxAPIConnectionListener > listeners ;
127127 private RequestInterceptor interceptor ;
128128 private final Map <String , String > customHeaders ;
@@ -666,15 +666,15 @@ public void setConnectTimeout(int connectTimeout) {
666666 * Gets if request use zstd encoding when possible
667667 * @return true if request use zstd encoding when possible
668668 */
669- public Boolean getUseZstdCompression () {
669+ public boolean getUseZstdCompression () {
670670 return this .useZstdCompression ;
671671 }
672672
673673 /*
674674 * Sets if request use zstd encoding when possible
675675 * @param useZstdCompression true if request use zstd encoding when possible
676676 */
677- public void setUseZstdCompression (Boolean useZstdCompression ) {
677+ public void setUseZstdCompression (boolean useZstdCompression ) {
678678 this .useZstdCompression = useZstdCompression ;
679679 buildHttpClients ();
680680 }
You can’t perform that action at this time.
0 commit comments