Skip to content

Commit

Permalink
Merge pull request #2061 from MistRay/develop
Browse files Browse the repository at this point in the history
fix #1966
  • Loading branch information
nkorange authored Nov 25, 2019
2 parents a70950c + 36a5259 commit a219dbe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3490,7 +3490,7 @@ public Map<String, Object> batchInsertOrUpdate(List<ConfigAllInfo> configInfoLis
if (configInfo.getDataId().contains(SPOT)) {
String extName = configInfo.getDataId().substring(configInfo.getDataId().lastIndexOf(SPOT) + 1).toUpperCase();
try {
type = FileTypeEnum.valueOf(extName).getFileType();
type = FileTypeEnum.valueOf(extName.toUpperCase()).getFileType();
} catch (Exception ex) {
type = FileTypeEnum.TEXT.getFileType();
}
Expand Down

0 comments on commit a219dbe

Please sign in to comment.