|
@@ -86,15 +86,6 @@ public class FileWriterUtil {
|
|
|
return null;
|
|
|
}
|
|
|
for (File file : files) {
|
|
|
- if(file.isDirectory()){
|
|
|
- for (File file1 : Objects.requireNonNull(file.listFiles())) {
|
|
|
- if(file1.isFile()){
|
|
|
- if(file1.getName().endsWith(".json")){
|
|
|
- return file1.getPath();
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
if(file.isFile()){
|
|
|
if(file.getName().endsWith(".json")){
|
|
|
return file.getPath();
|