Skip to content

Commit

Permalink
Merge pull request #207 from HannesWell/restore-binary-compatibility
Browse files Browse the repository at this point in the history
Restore PlacementUtil.findChildArea(KRendering, LinkedList)
  • Loading branch information
NiklasRentzCAU authored Oct 8, 2024
2 parents 330c595 + da12c0e commit e3fc39b
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import java.util.Deque;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;

Expand Down Expand Up @@ -1674,6 +1675,13 @@ private static Bounds evaluatePolylineBounds(final KPolyline line, final Bounds
return Bounds.max(Bounds.of(maxX, maxY), givenBounds);
}

/**
* @deprecated Use {@link #findChildArea(KRendering, Deque)}
*/
@Deprecated(forRemoval = true)
public static boolean findChildArea(KRendering rendering, LinkedList<KRendering> path) {
return findChildArea(rendering, (Deque<KRendering>) path);
}

/**
* Searches the rendering for a child area and records the path in the given list of renderings.
Expand Down

0 comments on commit e3fc39b

Please sign in to comment.