mirror of
https://gitee.com/kekingcn/file-online-preview.git
synced 2026-03-15 05:33:52 +08:00
fix some codestyle problem
This commit is contained in:
@@ -186,7 +186,7 @@ public class KkFileUtils {
|
||||
*/
|
||||
public static boolean isAllowedUpload(String file) {
|
||||
String fileType = suffixFromFileName(file);
|
||||
for (String type : ConfigConstants.getprohibit()) {
|
||||
for (String type : ConfigConstants.getProhibit()) {
|
||||
if (type.equals(fileType))
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user