From f19071bd5e0007fc823f99cdfa0196391827da1e Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 11 五月 2022 18:46:35 +0800 Subject: [PATCH] 'android项目完善' --- src/main/java/com/ks/codegenerator/utils/FileUtils.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/ks/codegenerator/utils/FileUtils.java b/src/main/java/com/ks/codegenerator/utils/FileUtils.java index f549048..e78c467 100644 --- a/src/main/java/com/ks/codegenerator/utils/FileUtils.java +++ b/src/main/java/com/ks/codegenerator/utils/FileUtils.java @@ -59,7 +59,7 @@ **/ public static void replaceFileContent(String file, String from, String to) throws Exception { if (!new File(file).exists()) { - throw new Exception("鏂囦欢涓嶅瓨鍦�"); + return; } // 鍒涘缓鏂囦欢杈撳叆娴� -- Gitblit v1.8.0