From c7b4de009473a51dbea334252d393a811d95c6c0 Mon Sep 17 00:00:00 2001 From: "Dylan.Liu" Date: Tue, 12 Jan 2021 14:57:29 +0800 Subject: [PATCH] =?UTF-8?q?DEC-16802=20fix:=20FineFileServer.getInstance()?= =?UTF-8?q?.getRepoConfig()=20=E6=8E=A5=E5=8F=A3=E6=8F=90=E4=BE=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fanruan/api/cluster/resource/FineFileServerKit.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/com/fanruan/api/cluster/resource/FineFileServerKit.java b/src/main/java/com/fanruan/api/cluster/resource/FineFileServerKit.java index d2eab61..eadcef1 100644 --- a/src/main/java/com/fanruan/api/cluster/resource/FineFileServerKit.java +++ b/src/main/java/com/fanruan/api/cluster/resource/FineFileServerKit.java @@ -4,12 +4,20 @@ import com.fr.decision.fileserver.FineFileServer; import com.fr.io.config.RepositoryConfig; /** + * 文件服务器Kit. + * * @author Dylan.Liu * @version 10.0 * Created by Dylan.Liu on 2021/1/12 */ public class FineFileServerKit { + /** + * 获取文件服务器当前配置. + * + * @return 文件服务器当前配置 + * @throws Exception 获取配置失败时异常 + */ public static T getRepoConfig() throws Exception { return FineFileServer.getInstance().getRepoConfig(); }