Skip to content

Commit 7c4c4f0

Browse files
Update maximum-nesting-depth.md
1 parent cd62191 commit 7c4c4f0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/checks/maximum-nesting-depth.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ The pseudo comment must be placed right after the `ENDMETHOD` statement.
3030
```abap
3131
METHOD method_name.
3232
...
33-
IF any_condition.
34-
IF any_condition.
35-
IF any_condition.
36-
IF any_condition.
37-
IF any_condition.
38-
any_condition = abap_true.
33+
IF any_condition1.
34+
IF any_condition2.
35+
IF any_condition3.
36+
IF any_condition4.
37+
IF any_condition5.
38+
any_variable = abap_true.
3939
ENDIF.
4040
ENDIF.
4141
ENDIF.
@@ -46,4 +46,4 @@ ENDMETHOD. "#EC CI_NESTING
4646

4747
### Further Readings & Knowledge
4848

49-
* [ABAP Styleguides on Clean Code](https://github.com/SAP/styleguides/blob/master/clean-abap/CleanABAP.md#keep-the-nesting-depth-low)
49+
* [ABAP Styleguides on Clean Code - keep the Nesting Depth low](https://github.com/SAP/styleguides/blob/master/clean-abap/CleanABAP.md#keep-the-nesting-depth-low)

0 commit comments

Comments
 (0)