"Constructor should be public" is not always true.
Original Reporter info from Mantis: mitov
-
Reporter name: Boian Mitov
Original Reporter info from Mantis: mitov
- Reporter name: Boian Mitov
Description:
This is in (Ver: 2.2.2rc1)
The warning:
Warning: Constructor should be public
is not necessarily true. If you need to have a constructor available only inside a unit and not accessible to others putting it in protected section is a good idea. This warning is hardly justified ;-) .
Mantis conversion info:
- Mantis ID: 11526
- Fixed in version: 2.2.4