Skip to content

Commit

Permalink
⚡ 使输出的内容更符合我的需求
Browse files Browse the repository at this point in the history
  • Loading branch information
1024-byteeeee committed May 8, 2024
1 parent 5594004 commit ae0e3c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/test/java/club/mcams/carpet/ModTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
public class ModTest {
public static void main(String[] args) {
// 打印指定文件夹下的所有文件名
String directoryPath = "/*文件夹路径*/";
String directoryPath = "path";
printFilesName(directoryPath);

// 测试翻译
Expand All @@ -49,7 +49,7 @@ public static void printFilesName(String path) {
if (file.isDirectory()) {
printFilesName(file.getAbsolutePath());
} else {
System.out.println(file.getName());
System.out.println("\"" + file.getName() + "\",");
}
}
}
Expand Down

0 comments on commit ae0e3c8

Please sign in to comment.