Skip to content
This repository was archived by the owner on Dec 6, 2024. It is now read-only.

Commit db5d44c

Browse files
SynapticloopSynapticloop
authored andcommitted
fixed javadoc
1 parent a2a8864 commit db5d44c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/main/java/synapticloop/b2/request/B2UploadFileRequest.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
import synapticloop.b2.response.B2FileResponse;
3232
import synapticloop.b2.response.B2GetUploadUrlResponse;
3333
import synapticloop.b2.response.B2ResponseHeaders;
34-
import synapticloop.b2.util.ChecksumHelper;
3534
import synapticloop.b2.util.URLEncoder;
3635

3736
/**
@@ -63,6 +62,7 @@ public class B2UploadFileRequest extends BaseB2Request {
6362
* @param b2GetUploadUrlResponse the upload URL for this request
6463
* @param fileName the name of the file
6564
* @param file the file to upload
65+
* @param sha1Checksum the sha1 checksum for the file
6666
* @param fileInfo the file info map which are passed through as headers prefixed by "X-Bz-Info-"
6767
*/
6868
public B2UploadFileRequest(CloseableHttpClient client, B2AuthorizeAccountResponse b2AuthorizeAccountResponse,
@@ -80,6 +80,7 @@ public B2UploadFileRequest(CloseableHttpClient client, B2AuthorizeAccountRespons
8080
* @param b2GetUploadUrlResponse the upload URL for this request
8181
* @param fileName the name of the file
8282
* @param file the file to upload
83+
* @param sha1Checksum the sha1 checksum for the file
8384
* @param mimeType the mimeType (optional, will default to 'b2/x-auto' which
8485
* backblaze will attempt to determine automatically). The MIME type of
8586
* the content of the file, which will be returned in the Content-Type
@@ -103,6 +104,7 @@ public B2UploadFileRequest(CloseableHttpClient client, B2AuthorizeAccountRespons
103104
* @param b2GetUploadUrlResponse the upload URL for this request
104105
* @param fileName the name of the file
105106
* @param file the file to upload
107+
* @param sha1Checksum the sha1 checksum for the file
106108
*/
107109
public B2UploadFileRequest(CloseableHttpClient client, B2AuthorizeAccountResponse b2AuthorizeAccountResponse,
108110
B2GetUploadUrlResponse b2GetUploadUrlResponse, String fileName, File file, String sha1Checksum) {
@@ -119,6 +121,7 @@ public B2UploadFileRequest(CloseableHttpClient client, B2AuthorizeAccountRespons
119121
* @param b2GetUploadUrlResponse the upload URL for this request
120122
* @param fileName the name of the file
121123
* @param file the file to upload
124+
* @param sha1Checksum the sha1 checksum for the file
122125
* @param mimeType the mimeType (optional, will default to 'b2/x-auto' which
123126
* backblaze will attempt to determine automatically). The MIME type of
124127
* the content of the file, which will be returned in the Content-Type

src/main/java/synapticloop/b2/response/BaseB2Response.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,6 @@ protected JSONArray readObjects(String key) {
185185
* {@link BaseB2Response#readLong(String)}
186186
* {@link BaseB2Response#readString(String)}
187187
* {@link BaseB2Response#readObject(String)}
188-
*
189-
* @param LOGGER The logger to use
190188
*/
191189
@SuppressWarnings("rawtypes")
192190
protected void warnOnMissedKeys() {

0 commit comments

Comments
 (0)