You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/checks/omit-optional-exporting.md
+2-5Lines changed: 2 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,10 @@
1
-
# code pal for ABAP
2
-
3
1
[code pal for ABAP](../../README.md) > [Documentation](../check_documentation.md) > [Omit Optional EXPORTING](omit-optional-exporting.md)
4
2
5
3
## Omit Optional EXPORTING
6
4
7
5
### What is the Intent of the Check?
8
6
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:
10
8
11
9
Anti-Pattern:
12
10
```abap
@@ -37,8 +35,7 @@ Omit the optional keyword EXPORTING (it works implicitly).
37
35
38
36
### What to do in case of exception?
39
37
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:
0 commit comments