Commit
7c094b3e0710bef7c69040d2d544f4e8781eaa4a changed the behavior of
the addChild(int, entry) of TimeGraphEntry. The parent should not be set
before calling this method anymore.
Change-Id: Ie716e9a5502f445dd6ef755adce42688ed000bbd
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/85065
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
* @param entry
* The entry to add
*/
- public void addChild(XmlEntry entry) {
+ public void addChild(@NonNull XmlEntry entry) {
int index;
for (index = 0; index < getChildren().size(); index++) {
XmlEntry other = (XmlEntry) getChildren().get(index);
}
}
- entry.setParent(this);
addChild(index, entry);
}