Constants部分常量添加final修饰
This commit is contained in:
@@ -48,7 +48,7 @@ public class CommonController
|
||||
{
|
||||
if (!FileUtils.isValidFilename(fileName))
|
||||
{
|
||||
throw new Exception(StringUtils.format(" 文件名称({})非法,不允许下载。 ", fileName));
|
||||
throw new Exception(StringUtils.format("文件名称({})非法,不允许下载。 ", fileName));
|
||||
}
|
||||
String realFileName = System.currentTimeMillis() + fileName.substring(fileName.indexOf("_") + 1);
|
||||
String filePath = Global.getDownloadPath() + fileName;
|
||||
|
Reference in New Issue
Block a user