Skip to content

Commit fe4326c

Browse files
committed
忽略不必要的文件
1 parent 4611315 commit fe4326c

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

.gitignore

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,10 @@
22
*.prefs
33
java_demo/.project
44
java_demo/.classpath
5-
.idea/vcs.xml
6-
.idea/vcs.xml
7-
.idea/misc.xml
8-
.idea/modules.xml
9-
.idea/vcs.xml
10-
.idea/workspace.xml
11-
.idea/vcs.xml
12-
java_demo/logs/error.log
13-
*.log
14-
.idea/vcs.xml
5+
.idea/
6+
java_demo/logs/
157
java_demo/src/main/main.iml
168
java_demo/src/test/test.iml
17-
.idea/vcs.xml
189
.DS_Store
19-
java_demo/.idea/misc.xml
20-
java_demo/.idea/modules.xml
21-
java_demo/.idea/vcs.xml
10+
java_demo/.idea/*
2211
java_demo/java_demo.iml

java_demo/src/main/java/com/cmower/java_demo/programcreek/Cmower.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ public class Cmower {
55
public static void main(String[] args) {
66
String cmower = "沉默王二,一枚有趣的程序员";
77
cmower = cmower.substring(0, 4);
8-
System.out.println();
8+
System.out.println(cmower);
99
}
1010

1111
}

0 commit comments

Comments
 (0)