Remove aliases - Common AFF (#5619)

Continue #5580
This commit is contained in:
Marc Bernard 2022-06-05 21:45:38 +02:00 committed by GitHub
parent bb13a1ff10
commit 7ba88d4345
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,9 +8,6 @@ CLASS zcl_abapgit_object_common_aff DEFINITION
INTERFACES zif_abapgit_object
ABSTRACT METHODS changed_by .
ALIASES mo_files
FOR zif_abapgit_object~mo_files .
PROTECTED SECTION.
PRIVATE SECTION.
@ -143,7 +140,7 @@ CLASS zcl_abapgit_object_common_aff IMPLEMENTATION.
<ls_text> TYPE any,
<ls_type> TYPE any.
lv_json_as_xstring = mo_files->read_raw( iv_ext = 'json' ).
lv_json_as_xstring = zif_abapgit_object~mo_files->read_raw( iv_ext = 'json' ).
lv_name = ms_item-obj_name.
@ -420,8 +417,9 @@ CLASS zcl_abapgit_object_common_aff IMPLEMENTATION.
RECEIVING
result = lv_json_as_xstring.
mo_files->add_raw( iv_ext = 'json'
iv_data = lv_json_as_xstring ).
zif_abapgit_object~mo_files->add_raw(
iv_ext = 'json'
iv_data = lv_json_as_xstring ).
CATCH cx_root INTO lx_exception.
zcx_abapgit_exception=>raise_with_text( lx_exception ).