@@ -15,10 +15,7 @@ public class WorkItemWidgetHierarchy implements WorkItemWidget {
1515 */
1616 private WorkItemConnectionRef ancestors ;
1717
18- /**
19- * Child work items.
20- */
21- private WorkItemConnectionRef children ;
18+
2219
2320 /**
2421 * Parent work item.
@@ -34,15 +31,6 @@ public WorkItemWidgetHierarchy setAncestors(WorkItemConnectionRef ancestors) {
3431 return this ;
3532 }
3633
37- public WorkItemConnectionRef getChildren () {
38- return children ;
39- }
40-
41- public WorkItemWidgetHierarchy setChildren (WorkItemConnectionRef children ) {
42- this .children = children ;
43- return this ;
44- }
45-
4634 public WorkItemRef getParent () {
4735 return parent ;
4836 }
@@ -54,7 +42,7 @@ public WorkItemWidgetHierarchy setParent(WorkItemRef parent) {
5442
5543 @ Override
5644 public int hashCode () {
57- return Objects .hash (ancestors , children , parent );
45+ return Objects .hash (ancestors , parent );
5846 }
5947
6048 @ Override
@@ -66,12 +54,12 @@ public boolean equals(Object obj) {
6654 if (getClass () != obj .getClass ())
6755 return false ;
6856 WorkItemWidgetHierarchy other = (WorkItemWidgetHierarchy ) obj ;
69- return Objects .equals (ancestors , other .ancestors ) && Objects .equals (children , other . children ) && Objects . equals ( parent , other .parent );
57+ return Objects .equals (ancestors , other .ancestors ) && Objects .equals (parent , other .parent );
7058 }
7159
7260 @ Override
7361 public String toString () {
74- return "WorkItemWidgetHierarchy [ancestors=" + ancestors + ", children=" + children + ", parent=" + parent + "]" ;
62+ return "WorkItemWidgetHierarchy [ancestors=" + ancestors + ", parent=" + parent + "]" ;
7563 }
7664
7765}
0 commit comments