Skip to content

Commit b5ef5f6

Browse files
authored
Update number-public-attributes.md
1 parent 66f4694 commit b5ef5f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/checks/number-public-attributes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ Make those attributes `PRIVATE` or `PROTECTED`. You can grant the read access wi
2323
### What to do in case of exception?
2424

2525
You can suppress Code Inspector findings generated by this check using the pseudo comment `"#EC NUM_PUBLIC_ATTR`.
26-
The pseudo comment must be placed right after the class definition header.
26+
The pseudo comment must be placed right after the `PUBLIC SECTION` statement.
2727

2828
```abap
29-
CLASS class_name DEFINITION. "#EC NUM_PUBLIC_ATTR
30-
PUBLIC SECTION.
29+
CLASS class_name DEFINITION.
30+
PUBLIC SECTION. "#EC NUM_PUBLIC_ATTR
3131
DATA attribute1 TYPE i.
3232
DATA attribute2 TYPE i.
3333
ENDCLASS.

0 commit comments

Comments
 (0)