mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 20:03:20 +08:00
Fix typos and adjust comments within the codebase (Cont'd). (#6785)
This commit is contained in:
parent
fc67e3ef87
commit
a1eb874ae7
|
@ -173,7 +173,7 @@ CLASS ZCL_ABAPGIT_DEFAULT_TRANSPORT IMPLEMENTATION.
|
|||
|
||||
METHOD zif_abapgit_default_transport~set.
|
||||
|
||||
" checks whether object changes of the package are rerorded in transport
|
||||
" checks whether object changes of the package are reordered in transport
|
||||
" requests. If true then we set the default task, so that no annoying
|
||||
" transport request popups are shown while deserializing.
|
||||
|
||||
|
|
|
@ -103,7 +103,7 @@ CLASS ZCL_ABAPGIT_TRANSPORT IMPLEMENTATION.
|
|||
" We used TR_REQUEST_CHOICE before, but it issues its error log with
|
||||
" write lists which are not compatible with abapGit.
|
||||
" There we user TRINT_REQUEST_CHOICE which returns the error log
|
||||
" and display the log ourselve.
|
||||
" and display the log ourselves.
|
||||
CALL FUNCTION 'TRINT_REQUEST_CHOICE'
|
||||
EXPORTING
|
||||
iv_request_types = 'FTCOK'
|
||||
|
|
|
@ -53,7 +53,7 @@ CLASS zcl_abapgit_transport_mass IMPLEMENTATION.
|
|||
lcl_gui=>open_folder_frontend( lo_transport_zipper->get_folder( ) ).
|
||||
|
||||
ELSE.
|
||||
* No data found for the provided selection criterias
|
||||
* No data found for the provided selection criteria
|
||||
zcx_abapgit_exception=>raise( 'No transport requests selected' ).
|
||||
ENDIF.
|
||||
|
||||
|
|
|
@ -803,7 +803,7 @@ CLASS lcl_json_to_abap IMPLEMENTATION.
|
|||
zcx_abapgit_ajson_error=>raise( |Unexpected parent type| ).
|
||||
ENDCASE.
|
||||
|
||||
rs_node_type-type_kind = rs_node_type-dd->type_kind. " for caching and cleaner unintialized access
|
||||
rs_node_type-type_kind = rs_node_type-dd->type_kind. " for caching and cleaner uninitialized access
|
||||
IF rs_node_type-type_kind = lif_kind=>table.
|
||||
lo_tdescr ?= rs_node_type-dd.
|
||||
IF lo_tdescr->table_kind <> cl_abap_tabledescr=>tablekind_std.
|
||||
|
|
|
@ -381,7 +381,7 @@ CLASS zcl_abapgit_objects_activation IMPLEMENTATION.
|
|||
io_checklist->get_error_messages( IMPORTING p_error_tab = lt_message ).
|
||||
|
||||
LOOP AT lt_message ASSIGNING <ls_message> WHERE mtype = 'E'.
|
||||
" When activting without popup, includes used in multiple main programs cause error
|
||||
" When activating without popup, includes used in multiple main programs cause error
|
||||
" Run again WITH activation popup (see abapGit, Personal Settings)
|
||||
IF <ls_message>-message-msgid = 'EU' AND <ls_message>-message-msgno = '404'.
|
||||
rv_try_again = abap_true.
|
||||
|
@ -430,7 +430,7 @@ CLASS zcl_abapgit_objects_activation IMPLEMENTATION.
|
|||
zcx_abapgit_exception=>raise_t100( ).
|
||||
ENDIF.
|
||||
|
||||
" Only error messsages
|
||||
" Only error messages
|
||||
DELETE lt_lines WHERE severity <> 'E'
|
||||
AND severity <> 'W'.
|
||||
" Remove "Return code..." message
|
||||
|
|
|
@ -60,7 +60,7 @@ CLASS zcl_abapgit_ecatt_data_upload IMPLEMENTATION.
|
|||
|
||||
METHOD zif_abapgit_ecatt_upload~set_stream_for_upload.
|
||||
|
||||
" donwnpoort from CL_ABAPGIT_ECATT_DATA_UPLOAD SET_STREAM_FOR_UPLOAD
|
||||
" downport from CL_ABAPGIT_ECATT_DATA_UPLOAD SET_STREAM_FOR_UPLOAD
|
||||
mv_external_xml = iv_xml.
|
||||
|
||||
ENDMETHOD.
|
||||
|
|
|
@ -305,7 +305,7 @@ CLASS zcl_abapgit_sap_package IMPLEMENTATION.
|
|||
" Namespace with repair license requires repair task
|
||||
rs_transport_type-task = 'R'.
|
||||
ELSE.
|
||||
" Otherweise use correction task
|
||||
" Otherwise use correction task
|
||||
rs_transport_type-task = 'S'.
|
||||
ENDIF.
|
||||
WHEN OTHERS.
|
||||
|
|
|
@ -338,7 +338,7 @@ CLASS zcl_abapgit_object_dtel IMPLEMENTATION.
|
|||
ENDIF.
|
||||
|
||||
IF ls_dd04v-routputlen = ''.
|
||||
* numeric field, make sure it is initial or XML serilization will dump
|
||||
* numeric field, make sure it is initial or XML serialization will dump
|
||||
CLEAR ls_dd04v-routputlen.
|
||||
ENDIF.
|
||||
IF ls_dd04v-authclass = ''.
|
||||
|
|
|
@ -249,7 +249,7 @@ CLASS zcl_abapgit_object_fugr IMPLEMENTATION.
|
|||
|
||||
IF zcl_abapgit_factory=>get_function_module( )->function_exists( <ls_func>-funcname ) = abap_true.
|
||||
* delete the function module to make sure the parameters are updated
|
||||
* havent found a nice way to update the paramters
|
||||
* havent found a nice way to update the parameters
|
||||
CALL FUNCTION 'FUNCTION_DELETE'
|
||||
EXPORTING
|
||||
funcname = <ls_func>-funcname
|
||||
|
|
|
@ -182,7 +182,7 @@ CLASS zcl_abapgit_object_otgr IMPLEMENTATION.
|
|||
IF sy-subrc = 0.
|
||||
lo_otgr->set_description( <ls_groupt>-text ).
|
||||
" ELSE.
|
||||
" Do we want to clear the main language description if not present in the XML conent?
|
||||
" Do we want to clear the main language description if not present in the XML content?
|
||||
" Main language is non-deterministic - it depends on sy-langu, so rather don't touch
|
||||
" description if the main language is not present
|
||||
" Perhaps, we can display some sort of a message but how?
|
||||
|
|
|
@ -453,7 +453,7 @@ CLASS zcl_abapgit_object_sicf IMPLEMENTATION.
|
|||
iv_obj_name = ms_item-obj_name ).
|
||||
|
||||
" Delete Application Customizing Data the hard way, as it isn't done by the API.
|
||||
" If we wouldn't we would get errors from the API if entrys exist.
|
||||
" If we wouldn't we would get errors from the API if entries exist.
|
||||
" Transaction SICF does the same.
|
||||
DELETE FROM icfapplcust
|
||||
WHERE icf_name = ls_icfservice-icf_name
|
||||
|
|
|
@ -215,7 +215,7 @@ CLASS zcl_abapgit_object_ucsa IMPLEMENTATION.
|
|||
|
||||
" Interface IF_UCON_SA_PERSIST and other objects are not present
|
||||
" in lower Netweaver realeses. Therefore we have to call them
|
||||
" dynamically to be downward comapatible.
|
||||
" dynamically to be downward compatible.
|
||||
|
||||
CALL METHOD lo_persistence->('IF_UCON_SA_PERSIST~LOAD')
|
||||
EXPORTING
|
||||
|
|
|
@ -648,7 +648,7 @@ CLASS zcl_abapgit_object_udmo IMPLEMENTATION.
|
|||
|
||||
access_free( ).
|
||||
|
||||
zcx_abapgit_exception=>raise( 'Error in deserialisation of UDMO' ).
|
||||
zcx_abapgit_exception=>raise( 'Error in deserialization of UDMO' ).
|
||||
|
||||
|
||||
ENDTRY.
|
||||
|
|
|
@ -207,7 +207,7 @@ CLASS ZCL_ABAPGIT_GUI_HOTKEY_CTL IMPLEMENTATION.
|
|||
ENDIF.
|
||||
|
||||
" Always reset visibility here. Closing of the popup has to be done by the
|
||||
" user and is handeled in JS.
|
||||
" user and is handled in JS.
|
||||
mv_visible = abap_false.
|
||||
|
||||
ENDMETHOD.
|
||||
|
|
|
@ -288,7 +288,7 @@ FORM exit.
|
|||
|
||||
" The exit logic should only be applied for our 'main' selection screen 1001.
|
||||
" All other selection-screens are called as popups and shouldn't influence
|
||||
" the gui navigation as it would lead to inpredictable behaviour like dumps.
|
||||
" the gui navigation as it would lead to unpredictable behaviour like dumps.
|
||||
IF sy-dynnr <> 1001.
|
||||
RETURN.
|
||||
ENDIF.
|
||||
|
|
Loading…
Reference in New Issue
Block a user