Skip to content

Commit 571f0cf

Browse files
add TODO comments
1 parent 4867dae commit 571f0cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/b2SdkExamples/B2SdkExamples.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ public class B2SdkExamples {
1616
private static final String APPLICATION_KEY = "yyy";
1717

1818

19-
2019
private static final String USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36";
2120

2221
private static final int minimumPartSize = 5000000;
22+
// TODO: read in a big file or generate a random file to fill into below byte array
2323
private static final byte[] large_file_in_bytes = new byte[minimumPartSize + 1];
2424

2525
public static void main(String... args) throws B2Exception {
@@ -54,6 +54,7 @@ public static void main(String... args) throws B2Exception {
5454
// uploadPartUrl.getFileId() is: 4_zc0c2ee6e6dccd2d788960d17_f231f3059ce9d1672_d20231118_m042524_c004_v0402007_t0004_u01700281524855
5555
// uploadPartUrl.getUploadUrl() is: https://pod-040-2007-12.backblaze.com/b2api/v2/b2_upload_part/4_zc0c2ee6e6dccd2d788960d17_f231f3059ce9d1672_d20231118_m042524_c004_v0402007_t0004_u01700281524855/0014
5656

57+
// TODO: figure out how to make below API call work elegantly
5758
final B2UploadFileRequest request = B2UploadFileRequest.builder(
5859
bucketOne.getBucketId(),
5960
"largeFile",

0 commit comments

Comments
 (0)