From 4623bd97c861f31591711ceb14ceec8204c4995c Mon Sep 17 00:00:00 2001 From: Feng Date: Fri, 23 Apr 2021 15:21:32 +0800 Subject: [PATCH] =?UTF-8?q?DEC-18310=20fix:=E6=96=87=E4=BB=B6=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=99=A8=E6=8F=92=E4=BB=B6=E6=8E=A5=E5=8F=A3=E6=9C=AA?= =?UTF-8?q?=E5=85=BC=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin.xml | 3 ++- .../fanruan/fs/s3/repository/core/S3ResourceRepository.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/plugin.xml b/plugin.xml index ba059a1..8549f9f 100644 --- a/plugin.xml +++ b/plugin.xml @@ -5,12 +5,13 @@ com.fanruan.fs yes no - 1.2.6 + 1.2.7 10.0 2021-03-11 richie [2021-03-30]修复copy文件耗时问题。
[2021-01-28]修复备份还原S3报警告问题。
[2021-01-24]修复定时调度结果文件预览失败。
diff --git a/src/main/java/com/fanruan/fs/s3/repository/core/S3ResourceRepository.java b/src/main/java/com/fanruan/fs/s3/repository/core/S3ResourceRepository.java index 7c23b43..e411788 100644 --- a/src/main/java/com/fanruan/fs/s3/repository/core/S3ResourceRepository.java +++ b/src/main/java/com/fanruan/fs/s3/repository/core/S3ResourceRepository.java @@ -309,7 +309,7 @@ public class S3ResourceRepository extends BaseResourceRepository { } @Override - protected boolean internalCopy(String origPath, String desPath) { + public boolean copyFile(String origPath, String desPath) throws ResourceIOException { s3.copyObject(bucket, origPath, bucket, desPath); return exist(desPath); }