Forráskód Böngészése

注释标点符号和汉字空格

emaisi 2 éve
szülő
commit
b5f97f69d3

+ 1 - 1
yudao-framework/yudao-spring-boot-starter-file/src/main/java/cn/iocoder/yudao/framework/file/core/client/ftp/FtpFileClient.java

@@ -28,7 +28,7 @@ public class FtpFileClient extends AbstractFileClient<FtpFileClientConfig> {
     @Override
     protected void doInit() {
         // 把配置的 \ 替换成 /, 如果路径配置 \a\test, 替换成 /a/test, 替换方法已经处理 null 情况
-        config.setBasePath(StrUtil.replace(config.getBasePath(),StrUtil.BACKSLASH,StrUtil.SLASH));
+        config.setBasePath(StrUtil.replace(config.getBasePath(), StrUtil.BACKSLASH, StrUtil.SLASH));
         // ftp的路径是 / 结尾
         if (!config.getBasePath().endsWith(StrUtil.SLASH)) {
             config.setBasePath(config.getBasePath() + StrUtil.SLASH);