rspec/rules/S1303/cobol/rule.adoc

28 lines
373 B
Plaintext
Raw Normal View History

2021-04-28 16:49:39 +02:00
There is no good reason to keep an empty and therefore valueless section. Such sections should be removed.
== Noncompliant Code Example
----
FIRST SECTION.
MOVE A TO B.
SECOND SECTION. *> Noncompliant; empty
THIRD SECTION.
someParagraph.
DISPLAY B.
----
== Compliant Solution
----
FIRST SECTION.
MOVE A TO B.
THIRD SECTION.
someParagraph.
DISPLAY B.
----