Skip to content

Commit

Permalink
fix: remove last commit non-breaking space
Browse files Browse the repository at this point in the history
  • Loading branch information
jskils authored and Charles7c committed Jun 14, 2024
1 parent f250c70 commit e30e32a
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public class FileDO extends BaseDO {
/**
* 缩略图URL
*/
private String thumbnailUrl; 
private String thumbnailUrl;

/**
* 存储 ID
Expand All @@ -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;
}
}

0 comments on commit e30e32a

Please sign in to comment.