Skip to content

Commit 7c83996

Browse files
committed
fix some problem
1 parent cc242d8 commit 7c83996

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

group08/769638826/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Created by .ignore support plugin (hsz.mobi)
22
.gitignore
33
.idea/
4-
769638826.iml
4+
coding.iml
55
target/

group08/769638826/src/main/java/com/coding/basic/LinkedList.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public void add(int index, Object o) {
3838
newNode.data = o;
3939

4040
if (head == null) {
41-
41+
head = newNode;
4242
}
4343

4444
if (index < 1 || index > size + 1) {

0 commit comments

Comments
 (0)