Skip to content

Commit c9e275a

Browse files
committed
fix conflict
1 parent d2b90c6 commit c9e275a

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

  • core-java-concurrency/src/main/java/com/baeldung/threadpool
Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,25 @@
11
package com.baeldung.threadpool;
22

3-
import java.util.Set;
4-
53
import com.google.common.collect.Sets;
64

5+
import java.util.Set;
6+
77
public class TreeNode {
88

9-
int value;
9+
private int value;
1010

11-
Set<TreeNode> children;
11+
private Set<TreeNode> children;
1212

13-
public TreeNode(int value, TreeNode... children) {
13+
TreeNode(int value, TreeNode... children) {
1414
this.value = value;
1515
this.children = Sets.newHashSet(children);
1616
}
1717

18-
}
18+
public int getValue() {
19+
return value;
20+
}
21+
22+
public Set<TreeNode> getChildren() {
23+
return children;
24+
}
25+
}

0 commit comments

Comments
 (0)