Skip to content

Commit 093d364

Browse files
authored
suppress low perfromance warnings with pseudo comment (sbcgua#219)
1 parent 8eb264b commit 093d364

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/core/zcl_ajson.clas.abap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ CLASS ZCL_AJSON IMPLEMENTATION.
202202
return. " Not found ? nothing to delete !
203203
endif.
204204

205-
delete mt_json_tree index sy-tabix. " where path = iv_path and name = iv_name.
205+
delete mt_json_tree index sy-tabix. "#EC CI_SORTSEQ where path = iv_path and name = iv_name.
206206

207207
if rs_top_node-children > 0. " only for objects and arrays
208208
lv_parent_path = iv_path && iv_name && '/*'.
@@ -915,7 +915,7 @@ CLASS ZCL_AJSON IMPLEMENTATION.
915915

916916
lv_path_pattern = lv_normalized_path && `*`.
917917

918-
loop at mt_json_tree into ls_item where path cp lv_path_pattern.
918+
loop at mt_json_tree into ls_item where path cp lv_path_pattern. "#EC CI_SORTSEQ
919919

920920
ls_item-path = substring( val = ls_item-path off = lv_path_len - 1 ). " less closing '/'
921921
insert ls_item into table lo_section->mt_json_tree.

src/libs/zcl_ajson_utilities.clas.abap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ CLASS ZCL_AJSON_UTILITIES IMPLEMENTATION.
119119

120120
if iv_keep_empty_arrays = abap_false.
121121
loop at io_json->mt_json_tree into ls_json_tree
122-
where type = zif_ajson_types=>node_type-array and children = 0.
122+
where type = zif_ajson_types=>node_type-array and children = 0. "#EC CI_SORTSEQ
123123

124124
io_json->delete( ls_json_tree-path && ls_json_tree-name ).
125125

@@ -130,7 +130,7 @@ CLASS ZCL_AJSON_UTILITIES IMPLEMENTATION.
130130
endif.
131131

132132
loop at io_json->mt_json_tree into ls_json_tree
133-
where type = zif_ajson_types=>node_type-object and children = 0.
133+
where type = zif_ajson_types=>node_type-object and children = 0. "#EC CI_SORTSEQ
134134

135135
io_json->delete( ls_json_tree-path && ls_json_tree-name ).
136136

0 commit comments

Comments
 (0)