Skip to content

Commit 96b96d9

Browse files
committed
fixing demo failures
1 parent b31afa0 commit 96b96d9

File tree

1 file changed

+44
-43
lines changed

1 file changed

+44
-43
lines changed

src/examples/y_demo_failures.clas.abap

Lines changed: 44 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -51,79 +51,80 @@ CLASS y_demo_failures DEFINITION PUBLIC FINAL CREATE PUBLIC.
5151
EVENTS event_five.
5252

5353
PROTECTED SECTION.
54-
55-
DATA attribute_2 TYPE string .
56-
DATA attribute_3 TYPE string .
57-
DATA attribute_4 TYPE string .
58-
DATA attribute_5 TYPE string .
59-
DATA attribute_6 TYPE string .
60-
61-
METHODS call_method_usage .
62-
METHODS chain_declaration_usage .
63-
METHODS check_statement_position .
64-
METHODS check_in_loop .
65-
METHODS function .
66-
METHODS comment_position .
67-
METHODS comment_type .
68-
METHODS cx_root_usage .
69-
METHODS cyclomatic_complexity .
70-
METHODS sub_assign_read_table .
71-
METHODS deprecated_key_words .
72-
METHODS empty_catches .
73-
METHODS empty_if_branch .
74-
METHODS empty_procedure .
75-
METHODS equals_sign_chaining .
76-
METHODS magic_number .
54+
DATA attribute_2 TYPE string.
55+
DATA attribute_3 TYPE string.
56+
DATA attribute_4 TYPE string.
57+
DATA attribute_5 TYPE string.
58+
DATA attribute_6 TYPE string.
59+
60+
METHODS call_method_usage.
61+
METHODS chain_declaration_usage.
62+
METHODS check_statement_position.
63+
METHODS check_in_loop.
64+
METHODS function.
65+
METHODS comment_position.
66+
METHODS comment_type.
67+
METHODS cx_root_usage.
68+
METHODS cyclomatic_complexity.
69+
METHODS sub_assign_read_table.
70+
METHODS deprecated_key_words.
71+
METHODS empty_catches.
72+
METHODS empty_if_branch.
73+
METHODS empty_procedure.
74+
METHODS equals_sign_chaining.
75+
METHODS magic_number.
7776
METHODS method_output_parameter
7877
EXPORTING
7978
!error TYPE char1
8079
RETURNING
81-
VALUE(result) TYPE string_table . "#EC NUM_OUTPUT_PARA
80+
VALUE(result) TYPE string_table. "#EC NUM_OUTPUT_PARA
8281
METHODS method_return_bool "#EC NUM_OUTPUT_PARA
8382
RETURNING
84-
VALUE(result) TYPE abap_bool .
85-
METHODS max_nesting_depth .
83+
VALUE(result) TYPE abap_bool.
84+
METHODS max_nesting_depth.
8685
METHODS non_class_based_exception
8786
EXCEPTIONS
88-
no_class_based .
89-
METHODS number_executable_statements .
87+
no_class_based.
88+
METHODS number_executable_statements.
9089
METHODS number_output_parameters
9190
EXPORTING
9291
!output_1 TYPE string
93-
!output_2 TYPE string .
94-
METHODS pseudo_comment_usage .
95-
METHODS receiving_usage .
96-
METHODS external_call_in_prod_code_ok .
92+
!output_2 TYPE string.
93+
METHODS pseudo_comment_usage.
94+
METHODS receiving_usage.
95+
METHODS external_call_in_prod_code_ok.
9796
METHODS boolean_input_parameter
9897
IMPORTING
99-
!do_save TYPE abap_bool .
100-
METHODS omit_optional_exporting .
98+
!do_save TYPE abap_bool.
99+
METHODS omit_optional_exporting.
101100
METHODS optional_parameters
102101
IMPORTING
103-
!name TYPE string OPTIONAL .
102+
!name TYPE string OPTIONAL.
104103
METHODS returning_name "#EC NUM_OUTPUT_PARA
105104
RETURNING
106-
VALUE(name) TYPE string .
107-
METHODS self_reference .
108-
METHODS test_seam_usage .
105+
VALUE(name) TYPE string.
106+
METHODS self_reference.
107+
METHODS test_seam_usage.
109108
METHODS multiple_pseudo_comments
110109
IMPORTING
111110
!name TYPE string
112111
!surname TYPE string OPTIONAL
113112
!active TYPE abap_bool OPTIONAL
114113
RETURNING
115-
VALUE(age) TYPE i . "#EC RET_NAME #EC BOOL_PARAM "#EC OPTL_PARAM
116-
METHODS prefer_is_not_to_not_is .
117-
METHODS prefer_case_to_elseif .
118-
METHODS deprecated_classes .
119-
METHODS scope_of_variable .
114+
VALUE(age) TYPE i. "#EC RET_NAME #EC BOOL_PARAM "#EC OPTL_PARAM
115+
METHODS prefer_is_not_to_not_is.
116+
METHODS prefer_case_to_elseif.
117+
METHODS deprecated_classes.
118+
METHODS scope_of_variable.
119+
120120
PRIVATE SECTION.
121121
DATA attribute_7 TYPE string.
122122
DATA attribute_8 TYPE string.
123123
DATA attribute_9 TYPE string.
124124
DATA attribute_10 TYPE string.
125125
DATA attribute_11 TYPE string.
126126
DATA attribute_12 TYPE string.
127+
127128
ENDCLASS.
128129

129130

0 commit comments

Comments
 (0)