Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Api change pathces
Browse files Browse the repository at this point in the history
Signed-off-by: Oleksii Korniienko <[email protected]>
  • Loading branch information
olkornii authored and odockal committed May 16, 2023
1 parent 66a98b9 commit 9524a9e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ protected void createTree(TreeNodeExt node) {
}
if (obj instanceof IFigure) {
IFigure figure = (IFigure) obj;
List<Object> children = figure.getChildren();
List<Object> children = (List<Object>) figure.getChildren();
for (Object child : children) {
TreeNodeExt newNode = new TreeNodeExt(child);
createTree(newNode);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class FigureFinder extends Finder<IFigure> {
@SuppressWarnings("unchecked")
@Override
public List<IFigure> getChildren(IFigure child) {
return child.getChildren();
return (List<IFigure>) child.getChildren();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public static void dump(IFigure parent, int indent) {
dump("> Tooltip: " + ((Label) tooltip).getText(), indent + 1);
}
@SuppressWarnings("unchecked")
List<IFigure> list = parent.getChildren();
List<IFigure> list = (List<IFigure>) parent.getChildren();
for (IFigure figure : list) {
dump(figure, indent + 1);
}
Expand Down

0 comments on commit 9524a9e

Please sign in to comment.