mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 11:46:38 +08:00
Fix typos and adjust comments within source code. (#6778)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
This commit is contained in:
parent
101e519c89
commit
7bff32b718
|
@ -63,7 +63,7 @@ CLASS lcl_gui IMPLEMENTATION.
|
|||
iv_via_selscreen = 'X'
|
||||
is_selection = ls_selection
|
||||
iv_complete_projects = space
|
||||
iv_title = 'ABAPGit Transport Mass Downloader'
|
||||
iv_title = 'abapGit Transport Mass Downloader'
|
||||
is_popup = ls_popup
|
||||
IMPORTING
|
||||
et_requests = rt_trkorr
|
||||
|
|
|
@ -228,7 +228,7 @@ CLASS zcl_abapgit_git_pack IMPLEMENTATION.
|
|||
raw_out_len = lv_decompress_len ).
|
||||
|
||||
IF lv_expected <> lv_decompress_len.
|
||||
zcx_abapgit_exception=>raise( |Decompression falied| ).
|
||||
zcx_abapgit_exception=>raise( |Decompression failed| ).
|
||||
ENDIF.
|
||||
|
||||
cl_abap_gzip=>compress_binary(
|
||||
|
@ -934,7 +934,7 @@ CLASS zcl_abapgit_git_pack IMPLEMENTATION.
|
|||
cv_decompressed = ls_data-raw.
|
||||
|
||||
IF lv_compressed_len IS INITIAL.
|
||||
zcx_abapgit_exception=>raise( |Decompression falied :o/| ).
|
||||
zcx_abapgit_exception=>raise( |Decompression failed :o/| ).
|
||||
ENDIF.
|
||||
|
||||
cv_data = cv_data+lv_compressed_len.
|
||||
|
|
|
@ -152,7 +152,7 @@ CLASS zcl_abapgit_http_client IMPLEMENTATION.
|
|||
code = lv_code
|
||||
message = lv_message ).
|
||||
|
||||
lv_text = |HTTP error { lv_code } occured: { lv_message }|.
|
||||
lv_text = |HTTP error { lv_code } occurred: { lv_message }|.
|
||||
|
||||
zcx_abapgit_exception=>raise( lv_text ).
|
||||
ENDIF.
|
||||
|
|
|
@ -207,7 +207,7 @@ CLASS zcl_abapgit_object_aifc IMPLEMENTATION.
|
|||
CREATE DATA lr_table TYPE HANDLE lr_tabledescr.
|
||||
ASSIGN lr_table->* TO <lt_table>.
|
||||
IF sy-subrc <> 0.
|
||||
zcx_abapgit_exception=>raise( 'Fieldsymbol not assigned' ).
|
||||
zcx_abapgit_exception=>raise( 'Field Symbol not assigned' ).
|
||||
ENDIF.
|
||||
|
||||
TRY.
|
||||
|
@ -394,7 +394,7 @@ CLASS zcl_abapgit_object_aifc IMPLEMENTATION.
|
|||
CREATE DATA lr_table TYPE HANDLE lr_tabledescr.
|
||||
ASSIGN lr_table->* TO <lt_table>.
|
||||
IF sy-subrc <> 0.
|
||||
zcx_abapgit_exception=>raise( 'Fieldsymbol not assigned' ).
|
||||
zcx_abapgit_exception=>raise( 'Field Symbol not assigned' ).
|
||||
ENDIF.
|
||||
|
||||
io_xml->read( EXPORTING
|
||||
|
|
|
@ -67,7 +67,7 @@ CLASS ZCL_ABAPGIT_OBJECT_CHAR IMPLEMENTATION.
|
|||
cx_pak_not_authorized
|
||||
cx_pak_invalid_state
|
||||
cx_pak_wb_object_locked.
|
||||
zcx_abapgit_exception=>raise( |Could not aquire lock, CHAR { lv_name }| ).
|
||||
zcx_abapgit_exception=>raise( |Could not acquire lock, CHAR { lv_name }| ).
|
||||
ENDTRY.
|
||||
ENDIF.
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ CLASS ZCL_ABAPGIT_OBJECT_ENSC IMPLEMENTATION.
|
|||
ENDIF.
|
||||
li_spot_ref->if_enh_object~unlock( ).
|
||||
CATCH cx_enh_root INTO lx_root.
|
||||
lv_message = `Error occured while deleting ENSC: `
|
||||
lv_message = `Error occurred while deleting ENSC: `
|
||||
&& lx_root->get_text( ).
|
||||
zcx_abapgit_exception=>raise( lv_message ).
|
||||
ENDTRY.
|
||||
|
@ -124,7 +124,7 @@ CLASS ZCL_ABAPGIT_OBJECT_ENSC IMPLEMENTATION.
|
|||
io_xml = io_xml ).
|
||||
|
||||
CATCH cx_enh_root INTO lx_root.
|
||||
lv_message = `Error occured while deserializing ENSC: `
|
||||
lv_message = `Error occurred while deserializing ENSC: `
|
||||
&& lx_root->get_text( ).
|
||||
zcx_abapgit_exception=>raise( lv_message ).
|
||||
ENDTRY.
|
||||
|
@ -242,7 +242,7 @@ CLASS ZCL_ABAPGIT_OBJECT_ENSC IMPLEMENTATION.
|
|||
io_xml = io_xml ).
|
||||
|
||||
CATCH cx_enh_root INTO lx_root.
|
||||
lv_message = `Error occured while serializing ENSC: `
|
||||
lv_message = `Error occurred while serializing ENSC: `
|
||||
&& lx_root->get_text( ).
|
||||
zcx_abapgit_exception=>raise( lv_message ).
|
||||
ENDTRY.
|
||||
|
|
|
@ -69,7 +69,7 @@ CLASS zcl_abapgit_object_oa2p IMPLEMENTATION.
|
|||
CATCH cx_swb_object_does_not_exist.
|
||||
zcx_abapgit_exception=>raise( |OAuth2 Profile { lv_profile_key } doesn't exist.| ).
|
||||
CATCH cx_swb_exception.
|
||||
zcx_abapgit_exception=>raise( |Error when geting details of OAuth2 Profile { lv_profile_key }.| ).
|
||||
zcx_abapgit_exception=>raise( |Error when getting details of OAuth2 Profile { lv_profile_key }.| ).
|
||||
ENDTRY.
|
||||
|
||||
lo_profile = <lo_wb>.
|
||||
|
@ -265,7 +265,7 @@ CLASS zcl_abapgit_object_oa2p IMPLEMENTATION.
|
|||
CATCH cx_swb_object_does_not_exist.
|
||||
zcx_abapgit_exception=>raise( |OAuth2 Profile { lv_profile_key } doesn't exist.| ).
|
||||
CATCH cx_swb_exception.
|
||||
zcx_abapgit_exception=>raise( |Error when geting details of OAuth2 Profile { lv_profile_key }.| ).
|
||||
zcx_abapgit_exception=>raise( |Error when getting details of OAuth2 Profile { lv_profile_key }.| ).
|
||||
ENDTRY.
|
||||
|
||||
"remove system specific information
|
||||
|
|
|
@ -66,7 +66,7 @@ CLASS zcl_abapgit_object_otgr IMPLEMENTATION.
|
|||
cx_pak_not_authorized
|
||||
cx_pak_invalid_state
|
||||
cx_pak_wb_object_locked.
|
||||
zcx_abapgit_exception=>raise( |OTGR { lv_name }: could not aquire lock| ).
|
||||
zcx_abapgit_exception=>raise( |OTGR { lv_name }: could not acquire lock| ).
|
||||
ENDTRY.
|
||||
ENDIF.
|
||||
ENDMETHOD.
|
||||
|
|
|
@ -136,7 +136,7 @@ CLASS zcl_abapgit_object_saxx_super IMPLEMENTATION.
|
|||
OTHERS = 3 ).
|
||||
|
||||
IF sy-subrc <> 0.
|
||||
zcx_abapgit_exception=>raise( |Error occured while locking { ms_item-obj_type } { lv_objname }| ).
|
||||
zcx_abapgit_exception=>raise( |Error occurred while locking { ms_item-obj_type } { lv_objname }| ).
|
||||
ENDIF.
|
||||
|
||||
ENDMETHOD.
|
||||
|
@ -209,7 +209,7 @@ CLASS zcl_abapgit_object_saxx_super IMPLEMENTATION.
|
|||
unlock( ).
|
||||
|
||||
CATCH cx_swb_exception.
|
||||
zcx_abapgit_exception=>raise( |Error occured while deleting { ms_item-obj_type }| ).
|
||||
zcx_abapgit_exception=>raise( |Error occurred while deleting { ms_item-obj_type }| ).
|
||||
ENDTRY.
|
||||
|
||||
corr_insert( iv_package ).
|
||||
|
@ -256,7 +256,7 @@ CLASS zcl_abapgit_object_saxx_super IMPLEMENTATION.
|
|||
unlock( ).
|
||||
|
||||
CATCH cx_swb_exception.
|
||||
zcx_abapgit_exception=>raise( |Error occured while creating { ms_item-obj_type }| ).
|
||||
zcx_abapgit_exception=>raise( |Error occurred while creating { ms_item-obj_type }| ).
|
||||
ENDTRY.
|
||||
|
||||
ENDMETHOD.
|
||||
|
|
|
@ -509,7 +509,7 @@ CLASS zcl_abapgit_object_ssfo IMPLEMENTATION.
|
|||
lo_sf->load( im_formname = lv_formname
|
||||
im_language = '' ).
|
||||
CATCH cx_ssf_fb.
|
||||
* the smartform is not present in system, or other error occured
|
||||
* the smartform is not present in system, or other error occurred
|
||||
RETURN.
|
||||
ENDTRY.
|
||||
|
||||
|
|
|
@ -457,7 +457,7 @@ CLASS zcl_abapgit_objects IMPLEMENTATION.
|
|||
ENDIF.
|
||||
ELSE.
|
||||
zcx_abapgit_exception=>raise( |Deserialization for object { is_result-obj_name } | &
|
||||
|(type { is_result-obj_type }) aborted, user descision required| ).
|
||||
|(type { is_result-obj_type }) aborted, user decision required| ).
|
||||
ENDIF.
|
||||
ENDIF.
|
||||
|
||||
|
|
|
@ -102,7 +102,7 @@ CLASS zcx_abapgit_exception DEFINITION
|
|||
PROTECTED SECTION.
|
||||
PRIVATE SECTION.
|
||||
|
||||
CONSTANTS c_generic_error_msg TYPE string VALUE `An error occured (ZCX_ABAPGIT_EXCEPTION)`.
|
||||
CONSTANTS c_generic_error_msg TYPE string VALUE `An error occurred (ZCX_ABAPGIT_EXCEPTION)`.
|
||||
|
||||
CLASS-METHODS split_text_to_symsg
|
||||
IMPORTING
|
||||
|
|
Loading…
Reference in New Issue
Block a user