mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 11:46:38 +08:00
Fix typos within the code base (#6858)
This commit is contained in:
parent
fe457a0349
commit
105a202f8c
|
@ -123,10 +123,10 @@ Legend
|
|||
+ APIS: API Release State (#6403)
|
||||
+ IWOM/IWPR/TRAN: Implement changed_by (#6411)
|
||||
+ Add online/offline filter option for repo list (#6449)
|
||||
* Dont dump for unknown frontend (#6302)
|
||||
* Don't dump for unknown frontend (#6302)
|
||||
* IDOC, TABL: Set released and closed status (#6306)
|
||||
* Fix is_dirty check for Repo Settings (#6309)
|
||||
* Unit test page: dont show SAUNIT_NO_TEST_CLASS err (#6310)
|
||||
* Unit test page: don't show SAUNIT_NO_TEST_CLASS err (#6310)
|
||||
* Fixed links to new documentation (#6319)
|
||||
* Fix "Data" page: On back go back (#6322)
|
||||
* OO serializer: skip includes not found (#6324)
|
||||
|
@ -1571,7 +1571,7 @@ Legend
|
|||
------------------
|
||||
* minor fixes for tags
|
||||
* downport
|
||||
* fix serilization of SXCI in background mode
|
||||
* fix serialization of SXCI in background mode
|
||||
|
||||
2018-01-03 v1.51.0
|
||||
------------------
|
||||
|
|
|
@ -74,7 +74,7 @@ CLASS zcl_abapgit_transport_objects IMPLEMENTATION.
|
|||
ENDLOOP.
|
||||
IF sy-subrc <> 0.
|
||||
" Since not all objects in a transport might be in the local repo
|
||||
" i.e generated SADL objects, we don't add these objects to
|
||||
" i.e. generated SADL objects, we don't add these objects to
|
||||
" the stage.
|
||||
ENDIF.
|
||||
ENDLOOP.
|
||||
|
|
|
@ -51,7 +51,7 @@ CLASS zcl_abapgit_git_time IMPLEMENTATION.
|
|||
|
||||
|
||||
METHOD get_unix.
|
||||
* returns seconds since unix epoch, including timezone indicator
|
||||
* returns seconds since Unix epoch, including timezone indicator
|
||||
|
||||
CONSTANTS lc_epoch TYPE timestamp VALUE '19700101000000'.
|
||||
DATA lv_time TYPE timestamp.
|
||||
|
|
|
@ -974,7 +974,7 @@ CLASS zcl_abapgit_object_tabl IMPLEMENTATION.
|
|||
|
||||
ASSIGN COMPONENT 'ROWORCOLST' OF STRUCTURE ls_internal-dd09l TO <lg_roworcolst>.
|
||||
IF sy-subrc = 0 AND <lg_roworcolst> = 'C'.
|
||||
CLEAR <lg_roworcolst>. "To avoid diff errors. This field doesn't exists in all releases
|
||||
CLEAR <lg_roworcolst>. "To avoid diff errors. This field doesn't exist in all releases
|
||||
ENDIF.
|
||||
|
||||
|
||||
|
|
|
@ -384,7 +384,7 @@ CLASS zcl_abapgit_object_aifc IMPLEMENTATION.
|
|||
CATCH cx_abap_not_a_table INTO lx_abap_not_a_table.
|
||||
zcx_abapgit_exception=>raise_with_text( lx_abap_not_a_table ).
|
||||
CATCH cx_abap_not_in_package.
|
||||
"thats fine
|
||||
"that's fine
|
||||
ENDTRY.
|
||||
|
||||
CLEAR lr_tabledescr.
|
||||
|
|
|
@ -703,7 +703,7 @@ CLASS zcl_abapgit_object_clas IMPLEMENTATION.
|
|||
|
||||
ls_clskey-clsname = ms_item-obj_name.
|
||||
|
||||
"If class was deserialized with a previous versions of abapGit and current language was different
|
||||
"If class was deserialized with a previous version of abapGit and current language was different
|
||||
"from main language at this time, this call would return SY-LANGU as main language. To fix
|
||||
"these objects, set SY-LANGU to main language temporarily.
|
||||
zcl_abapgit_language=>set_current_language( mv_language ).
|
||||
|
|
|
@ -64,7 +64,7 @@ CLASS zcl_abapgit_object_odso IMPLEMENTATION.
|
|||
return = ls_return.
|
||||
|
||||
IF ls_return-type = 'E'.
|
||||
zcx_abapgit_exception=>raise( |Error when geting changed by of ODSO: { ls_return-message }| ).
|
||||
zcx_abapgit_exception=>raise( |Error when getting changed by of ODSO: { ls_return-message }| ).
|
||||
ENDIF.
|
||||
|
||||
ASSIGN COMPONENT 'TSTPNM' OF STRUCTURE <lg_details> TO <lg_tstpnm>.
|
||||
|
@ -357,7 +357,7 @@ CLASS zcl_abapgit_object_odso IMPLEMENTATION.
|
|||
indexesinfoobjects = <lt_index_iobj>.
|
||||
|
||||
IF ls_return-type = 'E'.
|
||||
zcx_abapgit_exception=>raise( |Error when geting details of ODSO: { ls_return-message }| ).
|
||||
zcx_abapgit_exception=>raise( |Error when getting details of ODSO: { ls_return-message }| ).
|
||||
ENDIF.
|
||||
|
||||
clear_field( EXPORTING iv_fieldname = 'TSTPNM'
|
||||
|
|
|
@ -118,7 +118,7 @@ CLASS zcl_abapgit_object_suso IMPLEMENTATION.
|
|||
|
||||
IF sy-subrc = 0.
|
||||
|
||||
" so these check are not executed in 702
|
||||
" so these checks are not executed in 702
|
||||
|
||||
CREATE OBJECT lo_suso
|
||||
TYPE
|
||||
|
|
|
@ -384,7 +384,7 @@ CLASS zcl_abapgit_object_udmo IMPLEMENTATION.
|
|||
|
||||
METHOD is_name_permitted.
|
||||
|
||||
" It is unlikely that a serialised data model will have a name that is not permitted. However
|
||||
" It is unlikely that a serialized data model will have a name that is not permitted. However
|
||||
" there may be reservations in TRESE which could prohibit the data model name.
|
||||
" So to be safe, we check. Tx SD11 does this check.
|
||||
|
||||
|
@ -415,7 +415,7 @@ CLASS zcl_abapgit_object_udmo IMPLEMENTATION.
|
|||
ORDER BY PRIMARY KEY.
|
||||
|
||||
LOOP AT lt_udmo_entities ASSIGNING <ls_udmo_entity>.
|
||||
" You are reminded that administrative information, such as last changed by user, date, time is not serialised.
|
||||
" You are reminded that administrative information, such as last changed by user, date, time is not serialized.
|
||||
CLEAR <ls_udmo_entity>-lstuser.
|
||||
CLEAR <ls_udmo_entity>-lstdate.
|
||||
CLEAR <ls_udmo_entity>-lsttime.
|
||||
|
@ -485,7 +485,7 @@ CLASS zcl_abapgit_object_udmo IMPLEMENTATION.
|
|||
|
||||
CHECK lv_error_status = 'S'. "Success
|
||||
|
||||
" Administrative information is not serialised
|
||||
" Administrative information is not serialized
|
||||
CLEAR ls_udmo_long_text-header-tdfuser.
|
||||
CLEAR ls_udmo_long_text-header-tdfdate.
|
||||
CLEAR ls_udmo_long_text-header-tdftime.
|
||||
|
@ -524,7 +524,7 @@ CLASS zcl_abapgit_object_udmo IMPLEMENTATION.
|
|||
zcx_abapgit_exception=>raise( 'error from UDMO - model serialisation' ).
|
||||
ENDIF.
|
||||
|
||||
" You are reminded that administrative data is not serialised.
|
||||
" You are reminded that administrative data is not serialized.
|
||||
CLEAR ls_dm40l-lstdate.
|
||||
CLEAR ls_dm40l-lsttime.
|
||||
CLEAR ls_dm40l-lstuser.
|
||||
|
@ -541,9 +541,9 @@ CLASS zcl_abapgit_object_udmo IMPLEMENTATION.
|
|||
METHOD serialize_short_texts.
|
||||
|
||||
DATA lt_udmo_texts TYPE STANDARD TABLE OF ty_udmo_text_type WITH DEFAULT KEY.
|
||||
" You are reminded that administrative information, such as last changed by user, date, time is not serialised.
|
||||
" You are reminded that administrative information, such as last changed by user, date, time is not serialized.
|
||||
|
||||
" You are reminded that active short texts of all (existent) languages are serialised.
|
||||
" You are reminded that active short texts of all (existent) languages are serialized.
|
||||
|
||||
SELECT sprache dmoid as4local langbez
|
||||
FROM dm40t
|
||||
|
|
|
@ -125,7 +125,7 @@ CLASS zcl_abapgit_object_wapa IMPLEMENTATION.
|
|||
DATA: ls_pagekey TYPE o2pagkey.
|
||||
FIELD-SYMBOLS: <ls_local_page> LIKE LINE OF it_local_pages.
|
||||
|
||||
" delete local pages which doesn't exists remotely
|
||||
" delete local pages which doesn't exist remotely
|
||||
LOOP AT it_local_pages ASSIGNING <ls_local_page>.
|
||||
|
||||
READ TABLE it_remote_pages WITH KEY attributes-pagekey = <ls_local_page>-pagekey
|
||||
|
|
|
@ -671,7 +671,7 @@ CLASS zcl_abapgit_objects_generic IMPLEMENTATION.
|
|||
|
||||
lt_key_component_uncovered = it_key_component.
|
||||
|
||||
* we want to fill the atribute values which are not covered by explicit key components yet
|
||||
* we want to fill the attribute values which are not covered by explicit key components yet
|
||||
LOOP AT ct_objkey INTO ls_dummy.
|
||||
DELETE lt_key_component_uncovered INDEX 1.
|
||||
ENDLOOP.
|
||||
|
|
|
@ -81,7 +81,7 @@ CLASS ZCL_ABAPGIT_REPO_CHECKSUMS IMPLEMENTATION.
|
|||
<ls_local> LIKE LINE OF it_local,
|
||||
<ls_cs_file_sig> LIKE LINE OF <ls_checksum>-files.
|
||||
|
||||
" This methods is run at repo creation moment or manually by user
|
||||
" This method is run at repo creation moment or manually by user
|
||||
" In the first case it assumes that the local state is the CURRENT state
|
||||
" Thus the idea is to copy local state to checksums
|
||||
" The second case is an exception, when we acknowledge that the state is unknown
|
||||
|
|
|
@ -566,7 +566,7 @@ CLASS zcl_abapgit_gui IMPLEMENTATION.
|
|||
|
||||
METHOD zif_abapgit_gui_services~register_page_asset.
|
||||
|
||||
" Maybe forbid registering cacheable existing assets, maybe this is the right place (see also asset_man commments)
|
||||
" Maybe forbid registering cacheable existing assets, maybe this is the right place (see also asset_man comments)
|
||||
|
||||
mi_asset_man->register_asset(
|
||||
iv_url = iv_url
|
||||
|
|
|
@ -6,7 +6,7 @@ CLASS zcl_abapgit_gui_html_processor DEFINITION
|
|||
PUBLIC SECTION.
|
||||
|
||||
CONSTANTS c_css_build_name TYPE string VALUE 'css/bundle.css'.
|
||||
CONSTANTS c_preprocess_marker TYPE string VALUE `<!-- abapgit HTML preprocessor -->`.
|
||||
CONSTANTS c_preprocess_marker TYPE string VALUE `<!-- abapGit HTML preprocessor -->`.
|
||||
CONSTANTS c_comment_start TYPE string VALUE `<!--`.
|
||||
CONSTANTS c_comment_end TYPE string VALUE `-->`.
|
||||
|
||||
|
|
|
@ -129,7 +129,7 @@ CLASS ltcl_html_processor_test IMPLEMENTATION.
|
|||
` <!--<link rel="stylesheet" type="text/css" href="css/style2.css">-->\n` &&
|
||||
` <!--<link rel="stylesheet" type="text/css" href="css/style3.css">-->\n` &&
|
||||
` <script type="text/javascript" src="js/common.js"></script>\n` &&
|
||||
` <!-- abapgit HTML preprocessor -->\n` &&
|
||||
` <!-- abapGit HTML preprocessor -->\n` &&
|
||||
` <link rel="stylesheet" type="text/css" href="css/bundle.css">\n` &&
|
||||
` </head>\n` &&
|
||||
` <body>hello</body>\n` &&
|
||||
|
@ -168,7 +168,7 @@ CLASS ltcl_html_processor_test IMPLEMENTATION.
|
|||
` <link rel="stylesheet" type="text/css" href="css/style2.css">\n` && " Preserved
|
||||
` <!--<link rel="stylesheet" type="text/css" href="css/style3.css">-->\n` &&
|
||||
` <script type="text/javascript" src="js/common.js"></script>\n` &&
|
||||
` <!-- abapgit HTML preprocessor -->\n` &&
|
||||
` <!-- abapGit HTML preprocessor -->\n` &&
|
||||
` <link rel="stylesheet" type="text/css" href="css/bundle.css">\n` &&
|
||||
` </head>\n` &&
|
||||
` <body>hello</body>\n` &&
|
||||
|
|
|
@ -121,7 +121,7 @@ CLASS ltcl_html IMPLEMENTATION.
|
|||
ENDMETHOD.
|
||||
|
||||
METHOD indent5.
|
||||
* dont dump if something messes up or the nesting gets too wide
|
||||
* don't dump if something messes up or the nesting gets too wide
|
||||
DO 300 TIMES.
|
||||
mo_html->add( '<td>' ).
|
||||
ENDDO.
|
||||
|
|
|
@ -648,7 +648,7 @@ CLASS lcl_helper IMPLEMENTATION.
|
|||
ENDMETHOD.
|
||||
|
||||
METHOD find_changed_files.
|
||||
* dont care if its added or removed or changed, just remove identical
|
||||
* don't care if its added or removed or changed, just remove identical
|
||||
* also list identical moved files
|
||||
|
||||
DATA ls_path_name LIKE LINE OF rt_files.
|
||||
|
|
|
@ -309,7 +309,7 @@ CLASS zcl_abapgit_gui_page IMPLEMENTATION.
|
|||
|
||||
ii_html->add( 'var gCommandPalette = new CommandPalette(enumerateUiActions, {' ).
|
||||
ii_html->add( ' toggleKey: "F1",' ).
|
||||
ii_html->add( ' hotkeyDescription: "Command ..."' ).
|
||||
ii_html->add( ' hotkeyDescription: "Command Palette"' ).
|
||||
ii_html->add( '});' ).
|
||||
|
||||
ENDMETHOD.
|
||||
|
|
|
@ -75,7 +75,7 @@ CLASS ltcl_test IMPLEMENTATION.
|
|||
DATA lv_where TYPE string.
|
||||
|
||||
IF sy-sysid = 'ABC'.
|
||||
* dont run on open-abap
|
||||
* don't run on open-abap
|
||||
RETURN.
|
||||
ENDIF.
|
||||
|
||||
|
|
|
@ -945,7 +945,7 @@ CLASS zcl_abapgit_gui_page_repo_over IMPLEMENTATION.
|
|||
ls_hotkey_action-hotkey = |o|.
|
||||
INSERT ls_hotkey_action INTO TABLE rt_hotkey_actions.
|
||||
|
||||
ls_hotkey_action-description = |abapGit Settings|.
|
||||
ls_hotkey_action-description = |Global Settings|.
|
||||
ls_hotkey_action-action = zif_abapgit_definitions=>c_action-go_settings.
|
||||
ls_hotkey_action-hotkey = |x|.
|
||||
INSERT ls_hotkey_action INTO TABLE rt_hotkey_actions.
|
||||
|
|
|
@ -643,7 +643,7 @@ div.tutorial h2 { font-size: 14pt;}
|
|||
/* MENU */
|
||||
|
||||
/* Special credits to example at https://codepen.io/philhoyt/pen/ujHzd */
|
||||
/* container div, aligned left, but with .float-right modifier alignes right */
|
||||
/* container div, aligned left, but with .float-right modifier aligns right */
|
||||
|
||||
.nav-container ul {
|
||||
list-style: none;
|
||||
|
@ -1551,4 +1551,4 @@ table.unit_tests {
|
|||
}
|
||||
.modal .radio-container label:hover {
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -159,7 +159,7 @@ function setInitialFocus(id) {
|
|||
document.getElementById(id).focus();
|
||||
}
|
||||
|
||||
// Set focus to a element with query selector
|
||||
// Set focus to an element with query selector
|
||||
function setInitialFocusWithQuerySelector(sSelector, bFocusParent) {
|
||||
var oSelected = document.querySelector(sSelector);
|
||||
|
||||
|
@ -802,7 +802,7 @@ StageHelper.prototype.collectData = function() {
|
|||
|
||||
StageHelper.prototype.markVisiblesAsAdded = function() {
|
||||
this.iterateStageTab(false, function(row) {
|
||||
// TODO refacotr, unify updateRow logic
|
||||
// TODO refactor, unify updateRow logic
|
||||
if (row.style.display === "" && row.className === "local") { // visible
|
||||
this.updateRow(row, this.STATUS.add);
|
||||
} else {
|
||||
|
@ -1061,7 +1061,7 @@ DiffHelper.prototype.iterateDiffList = function(cb /*, ...*/) {
|
|||
}
|
||||
};
|
||||
|
||||
// Highlight filter button if filter is activate
|
||||
// Highlight filter button if filter is activated
|
||||
DiffHelper.prototype.highlightButton = function(state) {
|
||||
this.counter += state ? -1 : 1;
|
||||
if (this.counter > 0) {
|
||||
|
@ -1361,7 +1361,7 @@ KeyNavigation.prototype.getHandler = function() {
|
|||
return this.onkeydown.bind(this);
|
||||
};
|
||||
|
||||
// this functions enables the navigation with arrows through list items (li)
|
||||
// this function enables the navigation with arrows through list items (li)
|
||||
// e.g. in dropdown menus
|
||||
function enableArrowListNavigation() {
|
||||
document.addEventListener("keydown", new KeyNavigation().getHandler());
|
||||
|
@ -1528,7 +1528,7 @@ LinkHints.prototype.displayHints = function(isActivate) {
|
|||
LinkHints.prototype.hintActivate = function(hint) {
|
||||
if (hint.parent.nodeName === "A"
|
||||
// hint.parent.href doesn`t have a # at the end while accessing dropdowns the first time.
|
||||
// Seems like a idiosyncrasy of SAPGUI`s IE. So let`s ignore the last character.
|
||||
// Seems like a idiosyncrasy of SAP GUI`s IE. So let`s ignore the last character.
|
||||
&& (hint.parent.href.substr(0, hint.parent.href.length - 1) === document.location.href)// href is #
|
||||
&& !hint.parent.onclick // no handler
|
||||
&& hint.parent.parentElement && hint.parent.parentElement.nodeName === "LI") {
|
||||
|
@ -1643,7 +1643,7 @@ function Hotkeys(oKeyMap) {
|
|||
return;
|
||||
}
|
||||
|
||||
// Or a SAP event input
|
||||
// Or an SAP event input
|
||||
var sUiSapEventInputAction = this.getSapEventInputAction(action);
|
||||
if (sUiSapEventInputAction) {
|
||||
submitSapeventForm({}, sUiSapEventInputAction, "post");
|
||||
|
@ -1651,7 +1651,7 @@ function Hotkeys(oKeyMap) {
|
|||
return;
|
||||
}
|
||||
|
||||
// Or a SAP event main form
|
||||
// Or an SAP event main form
|
||||
var elForm = this.getSapEventForm(action);
|
||||
if (elForm) {
|
||||
elForm.submit();
|
||||
|
@ -2055,7 +2055,7 @@ function registerStagePatch() {
|
|||
}
|
||||
|
||||
/**********************************************************
|
||||
* Command Palette (Ctrl + P)
|
||||
* Command Palette (F1)
|
||||
**********************************************************/
|
||||
|
||||
// fuzzy match helper
|
||||
|
|
|
@ -667,7 +667,7 @@ CLASS zcl_abapgit_popups IMPLEMENTATION.
|
|||
|
||||
METHOD zif_abapgit_popups~popup_to_select_from_list.
|
||||
|
||||
DATA lo_popup TYPE REF TO lcl_object_descision_list.
|
||||
DATA lo_popup TYPE REF TO lcl_object_decision_list.
|
||||
|
||||
CLEAR et_list.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
CLASS lcl_object_descision_list DEFINITION FINAL.
|
||||
CLASS lcl_object_decision_list DEFINITION FINAL.
|
||||
PUBLIC SECTION.
|
||||
|
||||
CONSTANTS c_default_column TYPE abap_componentdescr-name VALUE 'DEFAULT_COLUMN'.
|
||||
|
@ -105,7 +105,7 @@ CLASS lcl_object_descision_list DEFINITION FINAL.
|
|||
|
||||
ENDCLASS.
|
||||
|
||||
CLASS lcl_object_descision_list IMPLEMENTATION.
|
||||
CLASS lcl_object_decision_list IMPLEMENTATION.
|
||||
|
||||
METHOD display.
|
||||
|
||||
|
|
|
@ -513,7 +513,7 @@ CLASS zcl_abapgit_diff IMPLEMENTATION.
|
|||
lv_old = zcl_abapgit_convert=>xstring_to_string_utf8( iv_old ).
|
||||
|
||||
" Check if one value contains a final newline but the other not
|
||||
" If yes, add a special characters that's visible in diff render
|
||||
" If yes, add a special character that's visible in diff render
|
||||
IF lv_new IS NOT INITIAL.
|
||||
lv_new_last = substring(
|
||||
val = lv_new
|
||||
|
|
|
@ -32,7 +32,7 @@ CLASS zcl_abapgit_utils IMPLEMENTATION.
|
|||
METHOD check_eol.
|
||||
|
||||
" Check if data is using CRLF as EOL separator. If only LF is used, data was likely
|
||||
" edited by externtal tools
|
||||
" edited by external tools
|
||||
IF iv_data IS NOT INITIAL AND
|
||||
iv_data CS cl_abap_char_utilities=>newline AND
|
||||
iv_data NS cl_abap_char_utilities=>cr_lf.
|
||||
|
|
Loading…
Reference in New Issue
Block a user