mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-27 08:44:49 +00:00
* fix: iterate arrays in reverse when removing elements in SearchClient Changed loops in SearchClient.java to iterate backwards over tags, dataProducts, lineage, entityRelationship, and testSuites arrays before removing elements. This prevents skipping elements or index errors due to forward iteration while removing items. * Refactor Painless scripts to use removeIf and Java multiline strings * Fix failed Java checkstyle --------- Co-authored-by: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com> (cherry picked from commit c336257cf4d6ed7ae7cc47c08cdb9a438dd19796)