Skip to content

Commit 2f98035

Browse files
Xu GuXu Gu
authored andcommitted
test
1 parent 14c60ed commit 2f98035

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

ListNode.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
public class ListNode{
2-
private int val;
3-
public ListNode next;
4-
5-
public ListNode(final int val){
6-
this.val = val;
7-
this.next = null;
8-
}
9-
10-
public int value(){
11-
return this.val;
12-
}
1+
public class ListNode{
2+
private int val;
3+
public ListNode next;
4+
5+
public ListNode(final int val){
6+
this.val = val;
7+
this.next = null;
8+
}
9+
10+
public int value(){
11+
return this.val;
12+
}
1313
}

TreeNode.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
public class TreeNode{
2-
private int val;
3-
public TreeNode left, right;
4-
5-
public TreeNode(final int val){
6-
this.val = val;
7-
this.left = this.right = null;
8-
}
9-
10-
public int value(){
11-
return this.val;
12-
}
1+
public class TreeNode{
2+
private int val;
3+
public TreeNode left, right;
4+
5+
public TreeNode(final int val){
6+
this.val = val;
7+
this.left = this.right = null;
8+
}
9+
10+
public int value(){
11+
return this.val;
12+
}
1313
}

0 commit comments

Comments
 (0)