style 格式化代码

This commit is contained in:
秋辞未寒
2026-03-24 23:48:15 +08:00
parent 8cadea285a
commit 3540a1b94f

View File

@@ -52,7 +52,7 @@ public abstract class AbstractS3StorageClientImpl implements S3StorageClient {
/** /**
* S3 存储客户端ID * S3 存储客户端ID
* * <p>
* 用于标识客户端,初始化后不允许更改 * 用于标识客户端,初始化后不允许更改
*/ */
protected final String clientId; protected final String clientId;
@@ -281,7 +281,6 @@ public abstract class AbstractS3StorageClientImpl implements S3StorageClient {
// 不知道什么原因导致 response.size() 返回了一个 null size ,此处做一个适配... // 不知道什么原因导致 response.size() 返回了一个 null size ,此处做一个适配...
Long size = response.size(); Long size = response.size();
size = size == null ? contentLength : size; size = size == null ? contentLength : size;
log.info("response size:{}", size);
return PutObjectResult.form("%s/%s".formatted(bucketUrl, key), key, response.eTag(), size == null ? 0 : size); return PutObjectResult.form("%s/%s".formatted(bucketUrl, key), key, response.eTag(), size == null ? 0 : size);
} }