|
|
@ -110,7 +110,7 @@ public class ClientFileCollectorServiceImpl implements ClientFileCollectorServic |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 目标文件已存在时,为新文件自动追加时间后缀,避免覆盖历史文件。 |
|
|
|
|
|
|
|
|
* 目标文件已存在时,为新文件自动追加时间后缀,避免覆盖历史文件。. |
|
|
*/ |
|
|
*/ |
|
|
private Path resolveTargetPathWithTimeSuffix(Path folderPath, String safeFileName) { |
|
|
private Path resolveTargetPathWithTimeSuffix(Path folderPath, String safeFileName) { |
|
|
Path originalTargetPath = folderPath.resolve(safeFileName); |
|
|
Path originalTargetPath = folderPath.resolve(safeFileName); |
|
|
|