mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-04-13 05:53:16 +08:00
style 格式化代码
This commit is contained in:
@@ -52,7 +52,7 @@ public abstract class AbstractS3StorageClientImpl implements S3StorageClient {
|
||||
|
||||
/**
|
||||
* S3 存储客户端ID
|
||||
*
|
||||
* <p>
|
||||
* 用于标识客户端,初始化后不允许更改
|
||||
*/
|
||||
protected final String clientId;
|
||||
@@ -281,7 +281,6 @@ public abstract class AbstractS3StorageClientImpl implements S3StorageClient {
|
||||
// 不知道什么原因导致 response.size() 返回了一个 null size ,此处做一个适配...
|
||||
Long size = response.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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user