org.sonar.l10n.delphi.rules.community-delphi.LegacyInitializationSection.html Maven / Gradle / Ivy
Why is this an issue?
Specifying the initialization section using begin
was superseded by the newer
initialization
syntax. The initialization
syntax works identically, but
also supports the addition of a finalization
section.
How to fix it
Use the modern initialization syntax instead:
// ...
begin
Writeln('Initializing application...');
end.
// ...
initialization
Writeln('Initializing application...');
end.
Resources
© 2015 - 2024 Weber Informatics LLC | Privacy Policy