Major
Nice to have
Bugfix
Major
Enhancement
Detail
#23148
Tiny improvements that have occurred as part of EPP (2)
As part of EPP, there are a few hotfixes that are too small to justify their own tickets. These will be implemented under this ticket in the base.
Done
- [259779]: Add methods to CollectionUtil for checking whether all elements in a collection are equal to each other:
- isEverythingEqual(Collection<?>) : boolean
- isEverythingEqual(Collection<E> collection, BiPredicate<E, E> equality) : boolean
- [259780]: Add methods to TLModelUtil for working with attributes which have no representation in the TLModel, as they are inherited, but not explicitly declared:
- toClassPart(Pair<TLClass, String>) : Optional<TLClassPart>
- toPairs(Collection<TLClassPart>) : List<Pair<TLClass, String>>
- toPair(TLClassPart) : Pair<TLClass, String>
- [259785]: Add further methods to TLModelUtil for working with attributes which have no representation in the TLModel, as they are inherited, but not explicitly declared:
- getSuccessors(Pair<TLClass, String>) : Collection<Pair<TLClass, String>>
- getPredecessors(Pair<TLClass, String>) : Collection<Pair<TLClass, String>>
- [259781], [259786]: Add classes for calculating and caching the "effective" annotation on a TLClass or TLClassPart:
- TLAttributeAnnotationPropagation
- TLClassAnnotationPropagation
- DAGPropertyPropagation (Their common super clas: It represents the idea of propagating a property of a Directed Acyclic Graph down that graph.)
- [259802]: Add ThreadUtil.start(Runnable). It creates a thread, starts and returns it.
- FormContextModificatorComposite must return true by default in preModify() in order to create FormFields when using the modificator without concrete children.
- This is not necessary, since it was introduced directly in Top-Logic. Only the hotfix in the Ascon repository is wrong.
- [259857]: Add CollectionUtilShared.flatten(Collection<Collection<E>>) : List<E>.
Test
No tests, as these are small things for which tests are not worthwhile because of the cost/benefit ratio.