cleanup TCollection
Original Reporter info from Mantis: luizamerico
-
Reporter name: Luiz Americo
Original Reporter info from Mantis: luizamerico
- Reporter name: Luiz Americo
Description:
The attached patch cleanup TCollection class:
-
don't check FItems for nil. This field is created unconditionally and is accessed directly in other places
-
In GetNamePath remove unnecessary type check
-
In Delete use a temporary variable to access the list item
Mantis conversion info:
- Mantis ID: 21771
- Fixed in version: 3.0.0
- Fixed in revision: 20881 (#5219b118)
- Target version: 2.6.1