All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.delphi.rules.community-delphi.LegacyInitializationSection.html Maven / Gradle / Ivy

There is a newer version: 1.12.1
Show newest version

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