From e1b7b93f9a32ce7017d5c1624b404422391a97cc Mon Sep 17 00:00:00 2001 From: oblomov <102328295+oblomov-dev@users.noreply.github.com> Date: Sun, 17 Dec 2023 18:54:26 +0100 Subject: [PATCH] Project cleanup (#727) * project cleanup * Create changelog.txt --- changelog.txt | 14 ++++++++++++++ src/01/01/z2ui5_cl_fw_binding.clas.abap | 3 --- src/01/01/z2ui5_cl_fw_db.clas.abap | 2 -- src/01/01/z2ui5_cl_fw_model.clas.abap | 11 ++--------- src/02/z2ui5_cl_cc_imagemapster.clas.abap | 2 +- src/02/z2ui5_cl_cc_messaging.clas.abap | 1 - 6 files changed, 17 insertions(+), 16 deletions(-) create mode 100644 changelog.txt diff --git a/changelog.txt b/changelog.txt new file mode 100644 index 00000000..ced3ca1a --- /dev/null +++ b/changelog.txt @@ -0,0 +1,14 @@ +abap2UI5 changelog +================= + +Legend +------ +* : fixed +! : changed ++ : added +- : removed + +2023-12-15 v1.110.0 +------------------- + ++ test diff --git a/src/01/01/z2ui5_cl_fw_binding.clas.abap b/src/01/01/z2ui5_cl_fw_binding.clas.abap index d4d9cb1e..d9d9f382 100644 --- a/src/01/01/z2ui5_cl_fw_binding.clas.abap +++ b/src/01/01/z2ui5_cl_fw_binding.clas.abap @@ -141,9 +141,6 @@ CLASS z2ui5_cl_fw_binding IMPLEMENTATION. ASSIGN (lv_name) TO . IF sy-subrc <> 0. RETURN. -* RAISE EXCEPTION TYPE z2ui5_cx_fw_error -* EXPORTING -* val = `BINDING_ERROR_ATTRIBUTE_NOT_FOUND_WITH_NAME__` && bind->name. ENDIF. DATA lr_ref TYPE REF TO data. diff --git a/src/01/01/z2ui5_cl_fw_db.clas.abap b/src/01/01/z2ui5_cl_fw_db.clas.abap index 338cdc31..29eaf474 100644 --- a/src/01/01/z2ui5_cl_fw_db.clas.abap +++ b/src/01/01/z2ui5_cl_fw_db.clas.abap @@ -184,9 +184,7 @@ CLASS Z2UI5_CL_FW_DB IMPLEMENTATION. IF sy-subrc <> 0. CONTINUE. ENDIF. -* IF IS NOT INITIAL. lr_attri->data_rtti = z2ui5_cl_util_func=>rtti_xml_get_by_data( ). -* ENDIF. CLEAR . CLEAR . ENDLOOP. diff --git a/src/01/01/z2ui5_cl_fw_model.clas.abap b/src/01/01/z2ui5_cl_fw_model.clas.abap index e149517b..d74cc3b1 100644 --- a/src/01/01/z2ui5_cl_fw_model.clas.abap +++ b/src/01/01/z2ui5_cl_fw_model.clas.abap @@ -71,7 +71,7 @@ CLASS z2ui5_cl_fw_model IMPLEMENTATION. CASE lr_attri->type_kind. - WHEN `h`. + WHEN cl_abap_typedescr=>typekind_table. z2ui5_cl_util_func=>trans_ref_tab_2_tab( EXPORTING ir_tab_from = @@ -82,7 +82,7 @@ CLASS z2ui5_cl_fw_model IMPLEMENTATION. ASSIGN ->* TO . CASE lr_attri->type_kind. - WHEN 'D' OR 'T'. + WHEN cl_abap_typedescr=>typekind_date OR cl_abap_typedescr=>typekind_time. z2ui5_cl_util_func=>trans_json_2_any( EXPORTING val = `"` && && `"` @@ -153,15 +153,8 @@ CLASS z2ui5_cl_fw_model IMPLEMENTATION. ENDCASE. ENDCASE. -* IF lr_attri->bind_type = z2ui5_cl_fw_binding=>cs_bind_type-two_way. -* INSERT VALUE #( n = lr_attri->name_front v = lr_attri->name ) INTO TABLE lt_binds. -* ENDIF. ENDLOOP. -* lo_update->add_attribute( n = `OBINDS` -* v = z2ui5_cl_fw_utility=>trans_json_any_2( lt_binds ) -* apos_active = abap_false ). - result = lr_view_model->stringify( ). ENDMETHOD. diff --git a/src/02/z2ui5_cl_cc_imagemapster.clas.abap b/src/02/z2ui5_cl_cc_imagemapster.clas.abap index e8d75119..656b2599 100644 --- a/src/02/z2ui5_cl_cc_imagemapster.clas.abap +++ b/src/02/z2ui5_cl_cc_imagemapster.clas.abap @@ -2597,7 +2597,7 @@ result = result && ` + (this._attributes.title ? ' title="' + this._attributes.title + '"' : '')` && |\n| && ` + ' />';` && |\n| && ` };` && |\n|. -result = `` && |\n| && +result = result && |\n| && ` Polygon.prototype.getCoordsForDisplayingInfo = function() {` && |\n| && ` return {` && |\n| && ` x : this._coords.points[0].x,` && |\n| && diff --git a/src/02/z2ui5_cl_cc_messaging.clas.abap b/src/02/z2ui5_cl_cc_messaging.clas.abap index ba03a2ff..27187a60 100644 --- a/src/02/z2ui5_cl_cc_messaging.clas.abap +++ b/src/02/z2ui5_cl_cc_messaging.clas.abap @@ -105,7 +105,6 @@ CLASS Z2UI5_CL_CC_MESSAGING IMPLEMENTATION. ` Messaging.registerObject(sap.z2ui5.oView, true);` && |\n| && ` oControl.isInitialized = true;` && |\n| && ` setTimeout( (oControl) => { ` && |\n| && -* ` Messaging.registerObject(sap.z2ui5.oView, true);` && |\n| && ` ` && |\n| && ` ` && |\n| && ` }, 50 , oControl );` && |\n| &&