Skip to content

I20260411-1800

@HeikoKlare HeikoKlare tagged this 11 Apr 11:10
Convert SetElementsOperation and TranslateOperation from non-static
inner classes to records, making their dependency on the device
explicit via a constructor parameter rather than capturing the outer
instance implicitly. Make MultiplyOperation a static nested class for
the same reason.

Also extract a destroyAllHandles() helper to eliminate duplicated code,
simplify getTransformHandle() with Map.computeIfAbsent(), collapse a
single-expression block lambda in isIdentity(), and remove unnecessary
local handle aliases inside the operation apply() methods.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Assets 2
Loading