add guard clause to prevent long runtimes (#5954)

Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
This commit is contained in:
Christian Günter 2022-12-22 16:46:20 +01:00 committed by GitHub
parent e7b8ed7dff
commit bd007e2447
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,6 +71,10 @@ CLASS ZCL_ABAPGIT_OBJECT_TABL_COMPAR IMPLEMENTATION.
FIELD-SYMBOLS: <ls_found> TYPE rsfindlst.
IF iv_object_name IS INITIAL.
RETURN.
ENDIF.
lt_scope = it_scope.
lv_findstring = iv_object_name.