Fixing bug in Status Bar message when there's only 1 thread. (#6783)

This commit is contained in:
francisco-milan 2024-01-29 22:29:45 -07:00 committed by GitHub
parent 6d0f7de2f5
commit 4a36f0bb34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -658,14 +658,15 @@ CLASS zcl_abapgit_serialize IMPLEMENTATION.
iv_count = lv_count )->start( ).
LOOP AT lt_tadir ASSIGNING <ls_tadir>.
li_progress->show(
iv_current = sy-tabix
iv_text = |Serialize { <ls_tadir>-obj_name }, { lv_max } threads| ).
IF lv_max = 1.
li_progress->show(
iv_current = sy-tabix
iv_text = |Serialize { <ls_tadir>-obj_name }, { lv_max } thread| ).
run_sequential( <ls_tadir> ).
ELSE.
li_progress->show(
iv_current = sy-tabix
iv_text = |Serialize { <ls_tadir>-obj_name }, { lv_max } threads| ).
run_parallel(
is_tadir = <ls_tadir>
iv_task = |{ sy-tabix }| ).