org.sonar.l10n.delphi.rules.community-delphi.ConsecutiveVarSection.html Maven / Gradle / Ivy
Why is this an issue?
Having consecutive var
sections is useless and negatively impacts readability.
Combining the sections into one larger section is more concise and easier to understand.
This rule also picks up consecutive threadvar
sections.
How to fix it
Combine the var
or threadvar
sections together:
var
Foo: Integer;
Bar: string;
var
Baz: Double;
var
Foo: Integer;
Bar: string;
Baz: Double;
© 2015 - 2024 Weber Informatics LLC | Privacy Policy