Skip to content

Commit 52b2c74

Browse files
Update omit-optional-exporting.md
1 parent 3ce6e4c commit 52b2c74

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

docs/checks/omit-optional-exporting.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
# code pal for ABAP
2-
31
[code pal for ABAP](../../README.md) > [Documentation](../check_documentation.md) > [Omit Optional EXPORTING](omit-optional-exporting.md)
42

53
## Omit Optional EXPORTING
64

75
### What is the Intent of the Check?
86

9-
The “Omit Optional EXPORTING” check searches for the optional EXPORTING wording which makes the class method call needlessly longer:
7+
This check searches for the optional EXPORTING wording which makes the class method call needlessly longer:
108

119
Anti-Pattern:
1210
```abap
@@ -37,8 +35,7 @@ Omit the optional keyword EXPORTING (it works implicitly).
3735

3836
### What to do in case of exception?
3937

40-
You can suppress Code Inspector findings generated by this check using the pseudo comment `"#EC OPTL_EXP`.
41-
The pseudo comment must be placed right at the end of the statement.
38+
In exceptional cases, you can suppress this finding by using the pseudo comment `"#EC OPTL_EXP` which should be placed right at the end of the statement:
4239

4340
```abap
4441
class->meth1( EXPORTING param1 = 'example' ). "#EC OPTL_EXP

0 commit comments

Comments
 (0)