@@ -15,11 +15,6 @@ public class WorkItemWidgetHierarchy implements WorkItemWidget {
1515 */
1616 private WorkItemConnectionRef ancestors ;
1717
18- /**
19- * Child work items.
20- */
21- private WorkItemConnectionRef children ;
22-
2318 /**
2419 * Parent work item.
2520 */
@@ -34,15 +29,6 @@ public WorkItemWidgetHierarchy setAncestors(WorkItemConnectionRef ancestors) {
3429 return this ;
3530 }
3631
37- public WorkItemConnectionRef getChildren () {
38- return children ;
39- }
40-
41- public WorkItemWidgetHierarchy setChildren (WorkItemConnectionRef children ) {
42- this .children = children ;
43- return this ;
44- }
45-
4632 public WorkItemRef getParent () {
4733 return parent ;
4834 }
@@ -54,7 +40,7 @@ public WorkItemWidgetHierarchy setParent(WorkItemRef parent) {
5440
5541 @ Override
5642 public int hashCode () {
57- return Objects .hash (ancestors , children , parent );
43+ return Objects .hash (ancestors , parent );
5844 }
5945
6046 @ Override
@@ -66,12 +52,12 @@ public boolean equals(Object obj) {
6652 if (getClass () != obj .getClass ())
6753 return false ;
6854 WorkItemWidgetHierarchy other = (WorkItemWidgetHierarchy ) obj ;
69- return Objects .equals (ancestors , other .ancestors ) && Objects .equals (children , other . children ) && Objects . equals ( parent , other .parent );
55+ return Objects .equals (ancestors , other .ancestors ) && Objects .equals (parent , other .parent );
7056 }
7157
7258 @ Override
7359 public String toString () {
74- return "WorkItemWidgetHierarchy [ancestors=" + ancestors + ", children=" + children + ", parent=" + parent + "]" ;
60+ return "WorkItemWidgetHierarchy [ancestors=" + ancestors + ", parent=" + parent + "]" ;
7561 }
7662
7763}
0 commit comments