mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 20:03:20 +08:00
cleanup
This commit is contained in:
parent
ec732a31b3
commit
96dd21079c
|
@ -587,7 +587,7 @@ CLASS zcl_abapgit_repo_srv IMPLEMENTATION.
|
||||||
zcx_abapgit_exception=>raise( 'new_offline not found' ).
|
zcx_abapgit_exception=>raise( 'new_offline not found' ).
|
||||||
ENDTRY.
|
ENDTRY.
|
||||||
|
|
||||||
ri_repo ?= instantiate_and_add( ls_repo ).
|
ri_repo = instantiate_and_add( ls_repo ).
|
||||||
|
|
||||||
" Local Settings
|
" Local Settings
|
||||||
IF ls_repo-local_settings-ignore_subpackages <> iv_ign_subpkg.
|
IF ls_repo-local_settings-ignore_subpackages <> iv_ign_subpkg.
|
||||||
|
|
|
@ -112,7 +112,7 @@ CLASS ltd_repo_srv IMPLEMENTATION.
|
||||||
DATA lo_abapgit_repo TYPE REF TO zif_abapgit_repo.
|
DATA lo_abapgit_repo TYPE REF TO zif_abapgit_repo.
|
||||||
|
|
||||||
LOOP AT mt_repositories INTO lo_test_double_repo.
|
LOOP AT mt_repositories INTO lo_test_double_repo.
|
||||||
lo_abapgit_repo ?= lo_test_double_repo.
|
lo_abapgit_repo = lo_test_double_repo.
|
||||||
APPEND lo_test_double_repo TO rt_list.
|
APPEND lo_test_double_repo TO rt_list.
|
||||||
ENDLOOP.
|
ENDLOOP.
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
|
@ -730,7 +730,7 @@ CLASS zcl_abapgit_gui_page_sett_remo IMPLEMENTATION.
|
||||||
IF ls_settings_new-offline <> ms_settings_snapshot-offline.
|
IF ls_settings_new-offline <> ms_settings_snapshot-offline.
|
||||||
" Remember key, switch, retrieve new instance (todo, refactor #2244)
|
" Remember key, switch, retrieve new instance (todo, refactor #2244)
|
||||||
mi_repo->switch_repo_type( ls_settings_new-offline ).
|
mi_repo->switch_repo_type( ls_settings_new-offline ).
|
||||||
mi_repo ?= zcl_abapgit_repo_srv=>get_instance( )->get( mi_repo->get_key( ) ).
|
mi_repo = zcl_abapgit_repo_srv=>get_instance( )->get( mi_repo->get_key( ) ).
|
||||||
ENDIF.
|
ENDIF.
|
||||||
|
|
||||||
IF mi_repo->is_offline( ) = abap_false.
|
IF mi_repo->is_offline( ) = abap_false.
|
||||||
|
|
|
@ -201,7 +201,7 @@ CLASS zcl_abapgit_gui_page_data IMPLEMENTATION.
|
||||||
mo_form = get_form_schema( ).
|
mo_form = get_form_schema( ).
|
||||||
mo_form_util = zcl_abapgit_html_form_utils=>create( mo_form ).
|
mo_form_util = zcl_abapgit_html_form_utils=>create( mo_form ).
|
||||||
|
|
||||||
mi_repo ?= zcl_abapgit_repo_srv=>get_instance( )->get( iv_key ).
|
mi_repo = zcl_abapgit_repo_srv=>get_instance( )->get( iv_key ).
|
||||||
mi_config = mi_repo->get_data_config( ).
|
mi_config = mi_repo->get_data_config( ).
|
||||||
|
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
|
@ -137,7 +137,7 @@ CLASS lcl_startup IMPLEMENTATION.
|
||||||
LOOP AT lt_repo_list ASSIGNING <lo_repo>.
|
LOOP AT lt_repo_list ASSIGNING <lo_repo>.
|
||||||
|
|
||||||
IF <lo_repo>->get_package( ) IN lt_r_package.
|
IF <lo_repo>->get_package( ) IN lt_r_package.
|
||||||
li_repo ?= <lo_repo>.
|
li_repo = <lo_repo>.
|
||||||
EXIT.
|
EXIT.
|
||||||
ENDIF.
|
ENDIF.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user