【fix】修改命名

This commit is contained in:
zer0Black
2021-04-01 13:55:46 +08:00
parent 132fcb7c29
commit 02323ebb97
@@ -9,14 +9,14 @@ import java.util.List;
@Slf4j @Slf4j
public class CreateFileConfig { public class CreateFileConfig {
private String b; private String templatePath;
private List<File> c = new ArrayList(); private List<File> c = new ArrayList();
private String stylePath; private String stylePath;
public CreateFileConfig(String templatePath) { public CreateFileConfig(String templatePath) {
log.debug("----templatePath-----------------" + templatePath); log.debug("----templatePath-----------------" + templatePath);
log.debug("----stylePath-----------------" + this.stylePath); log.debug("----stylePath-----------------" + this.stylePath);
this.b = templatePath; this.templatePath = templatePath;
} }
private void a(File var1) { private void a(File var1) {
@@ -36,7 +36,7 @@ public class CreateFileConfig {
} }
public List<File> b() { public List<File> b() {
String var1 = this.getClass().getResource(this.b).getFile(); String var1 = this.getClass().getResource(this.templatePath).getFile();
var1 = var1.replaceAll("%20", " "); var1 = var1.replaceAll("%20", " ");
log.debug("-------classpath-------" + var1); log.debug("-------classpath-------" + var1);
if (var1.indexOf("/BOOT-INF/classes!") != -1 || var1.indexOf("/BOOT-INF/lib/") != -1) { if (var1.indexOf("/BOOT-INF/classes!") != -1 || var1.indexOf("/BOOT-INF/lib/") != -1) {