mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-02 21:08:01 +08:00
CLAS: Add checks for empty class includes
This commit is contained in:
parent
026e504d68
commit
a791d7ddaf
|
@ -476,17 +476,23 @@ CLASS zcl_abapgit_oo_class_new IMPLEMENTATION.
|
|||
DATA: lv_program TYPE programm.
|
||||
|
||||
|
||||
IF lines( it_local_definitions ) > 0.
|
||||
lv_program = cl_oo_classname_service=>get_ccdef_name( is_key-clsname ).
|
||||
update_report( iv_program = lv_program
|
||||
it_source = it_local_definitions ).
|
||||
ENDIF.
|
||||
|
||||
IF lines( it_local_implementations ) > 0.
|
||||
lv_program = cl_oo_classname_service=>get_ccimp_name( is_key-clsname ).
|
||||
update_report( iv_program = lv_program
|
||||
it_source = it_local_implementations ).
|
||||
ENDIF.
|
||||
|
||||
IF lines( it_local_macros ) > 0.
|
||||
lv_program = cl_oo_classname_service=>get_ccmac_name( is_key-clsname ).
|
||||
update_report( iv_program = lv_program
|
||||
it_source = it_local_macros ).
|
||||
ENDIF.
|
||||
|
||||
IF lines( it_local_test_classes ) > 0.
|
||||
lv_program = cl_oo_classname_service=>get_ccau_name( is_key-clsname ).
|
||||
|
|
Loading…
Reference in New Issue
Block a user