#24233tcaTree has redundant code passages
Description
as mentioned by Oliver Klee in a Discussion about 16508 there is some code-Redundancy in the tcaTree-Dataprovider. —> Clean this up a little bit.
Furthermore I streamlined some Variable usage and superfluous if conditions
(issue imported from #M16602)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.