From 183b0113ae514a17c04ae676484cb6147b8ea6da Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Tue, 8 Oct 2024 10:44:36 +0200 Subject: [PATCH] Restore PlacementUtil.findChildArea(KRendering, LinkedList) to preserver binary compatibility. --- .../cau/cs/kieler/klighd/microlayout/PlacementUtil.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/plugins/de.cau.cs.kieler.klighd/src/de/cau/cs/kieler/klighd/microlayout/PlacementUtil.java b/plugins/de.cau.cs.kieler.klighd/src/de/cau/cs/kieler/klighd/microlayout/PlacementUtil.java index 20c9aca07..f97e316f3 100644 --- a/plugins/de.cau.cs.kieler.klighd/src/de/cau/cs/kieler/klighd/microlayout/PlacementUtil.java +++ b/plugins/de.cau.cs.kieler.klighd/src/de/cau/cs/kieler/klighd/microlayout/PlacementUtil.java @@ -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; @@ -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 path) { + return findChildArea(rendering, (Deque) path); + } /** * Searches the rendering for a child area and records the path in the given list of renderings.