From b2ccec912693237c7039e8fabec322e4ce6dad0c Mon Sep 17 00:00:00 2001 From: kils Date: Fri, 14 Jun 2024 10:29:22 +0800 Subject: [PATCH] fix: remove last commit non-breaking space --- .../continew/admin/system/model/entity/FileDO.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/continew-admin-system/src/main/java/top/continew/admin/system/model/entity/FileDO.java b/continew-admin-system/src/main/java/top/continew/admin/system/model/entity/FileDO.java index a69a47bc3..270b7e86b 100644 --- a/continew-admin-system/src/main/java/top/continew/admin/system/model/entity/FileDO.java +++ b/continew-admin-system/src/main/java/top/continew/admin/system/model/entity/FileDO.java @@ -74,7 +74,7 @@ public class FileDO extends BaseDO { /** * 缩略图URL */ - private String thumbnailUrl;  + private String thumbnailUrl; /** * 存储 ID @@ -91,16 +91,16 @@ public FileInfo toFileInfo(String storageCode) { FileInfo fileInfo = new FileInfo(); fileInfo.setOriginalFilename(StrUtils .blankToDefault(this.extension, this.name, ex -> this.name + StringConstants.DOT + ex)); - fileInfo.setSize(this.size);  + fileInfo.setSize(this.size); fileInfo.setUrl(this.url); fileInfo.setExt(this.extension); fileInfo.setBasePath(StringConstants.EMPTY); fileInfo.setPath(StringConstants.EMPTY); - fileInfo.setFilename(URLUtils.isHttpUrl(this.url)  - ? StrUtil.subAfter(this.url, StringConstants.SLASH, true)  + fileInfo.setFilename(URLUtils.isHttpUrl(this.url) + ? StrUtil.subAfter(this.url, StringConstants.SLASH, true) : this.url); - fileInfo.setThFilename(this.thumbnailUrl);   - fileInfo.setPlatform(storageCode);  + fileInfo.setThFilename(this.thumbnailUrl); + fileInfo.setPlatform(storageCode); return fileInfo; } }