Clean-up unnecessary_pragma (#6565)

This commit is contained in:
Marc Bernard 2023-10-25 09:07:18 -04:00 committed by GitHub
parent d840aceefa
commit c1873f6bbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View File

@ -442,13 +442,13 @@
"omit_parameter_name": { "omit_parameter_name": {
"exclude": ["/json/"] "exclude": ["/json/"]
}, },
"unnecessary_pragma": {
"allowNoTextGlobal": true
},
"whitespace_end": true "whitespace_end": true
}, },
"targetRules": { "targetRules": {
"double_space": true, "double_space": true,
"unnecessary_pragma": {
"allowNoTextGlobal": true
},
"select_add_order_by": { "select_add_order_by": {
"skipForAllEntries": true "skipForAllEntries": true
}, },

View File

@ -199,7 +199,7 @@ CLASS ltcl_warning_overwrite_find IMPLEMENTATION.
TRY. TRY.
mo_objects->check_multiple_files( mt_result ). mo_objects->check_multiple_files( mt_result ).
CATCH zcx_abapgit_exception ##NO_HANDLER. CATCH zcx_abapgit_exception.
cl_abap_unit_assert=>fail( ). cl_abap_unit_assert=>fail( ).
ENDTRY. ENDTRY.
@ -213,7 +213,7 @@ CLASS ltcl_warning_overwrite_find IMPLEMENTATION.
TRY. TRY.
mo_objects->check_multiple_files( mt_result ). mo_objects->check_multiple_files( mt_result ).
CATCH zcx_abapgit_exception ##NO_HANDLER. CATCH zcx_abapgit_exception.
cl_abap_unit_assert=>fail( ). cl_abap_unit_assert=>fail( ).
ENDTRY. ENDTRY.

View File

@ -66,7 +66,7 @@ CLASS ltcl_base IMPLEMENTATION.
ix_previous = ms_given-previous_exception ix_previous = ms_given-previous_exception
iv_longtext = ms_given-longtext ). iv_longtext = ms_given-longtext ).
cl_abap_unit_assert=>fail( ). cl_abap_unit_assert=>fail( ).
CATCH zcx_abapgit_exception INTO mo_cut ##NEEDED. CATCH zcx_abapgit_exception INTO mo_cut ##NO_HANDLER.
ENDTRY. ENDTRY.
ENDMETHOD. ENDMETHOD.
@ -81,7 +81,7 @@ CLASS ltcl_base IMPLEMENTATION.
ix_previous = ms_given-previous_exception ix_previous = ms_given-previous_exception
iv_longtext = ms_given-longtext ). iv_longtext = ms_given-longtext ).
cl_abap_unit_assert=>fail( ). cl_abap_unit_assert=>fail( ).
CATCH zcx_abapgit_exception INTO mo_cut ##NEEDED. CATCH zcx_abapgit_exception INTO mo_cut ##NO_HANDLER.
ENDTRY. ENDTRY.
ENDMETHOD. ENDMETHOD.
@ -90,7 +90,7 @@ CLASS ltcl_base IMPLEMENTATION.
zcx_abapgit_exception=>raise_with_text( ix_previous = ms_given-previous_exception zcx_abapgit_exception=>raise_with_text( ix_previous = ms_given-previous_exception
iv_longtext = ms_given-longtext ). iv_longtext = ms_given-longtext ).
cl_abap_unit_assert=>fail( ). cl_abap_unit_assert=>fail( ).
CATCH zcx_abapgit_exception INTO mo_cut ##NEEDED. CATCH zcx_abapgit_exception INTO mo_cut ##NO_HANDLER.
ENDTRY. ENDTRY.
ENDMETHOD. ENDMETHOD.