Skip to content

Commit 34d276c

Browse files
committed
update comments
1 parent fe919e5 commit 34d276c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/cn/jpush/api/image/ImageClient.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ public ImageUploadResult modifyImage(String mediaId, ImageUrlPayload imageUrlPay
142142
* @throws APIConnectionException connection exception
143143
* @throws APIRequestException request exception
144144
*/
145-
public ImageUploadResult modifyImage(String mediaId, ImageFilePayload imageFilePayload) {
145+
public ImageUploadResult modifyImage(String mediaId, ImageFilePayload imageFilePayload)
146+
throws APIConnectionException, APIRequestException {
146147
Preconditions.checkArgument(StringUtils.isNotEmpty(mediaId), "mediaId should not be empty");
147148
checkImageFilePayload(imageFilePayload);
148149
NativeHttpClient client = (NativeHttpClient) _httpClient;

0 commit comments

Comments
 (0)