From a6c073409ea6cd511d22619be7b3fd9f3ce079e3 Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Fri, 13 Sep 2024 10:47:32 +0200 Subject: [PATCH] align TYPE expressions (#7050) --- abaplint.json | 3 +- src/data/zcl_abapgit_data_utils.clas.abap | 2 +- .../zcl_abapgit_where_used_tools.clas.abap | 6 +- src/json/zcl_abapgit_ajson.clas.abap | 34 ++-- .../zcl_abapgit_ajson.clas.locals_imp.abap | 152 +++++++++--------- .../zcl_abapgit_ajson.clas.testclasses.abap | 46 +++--- .../zcl_abapgit_ajson_filter_lib.clas.abap | 8 +- ...pgit_ajson_filter_lib.clas.locals_imp.abap | 4 +- src/json/zcl_abapgit_ajson_mapping.clas.abap | 14 +- ...abapgit_ajson_mapping.clas.locals_def.abap | 2 +- .../zcl_abapgit_ajson_utilities.clas.abap | 8 +- src/json/zif_abapgit_ajson.intf.abap | 84 +++++----- src/json/zif_abapgit_ajson_filter.intf.abap | 4 +- src/json/zif_abapgit_ajson_mapping.intf.abap | 2 +- src/json/zif_abapgit_ajson_types.intf.abap | 12 +- .../aff/zcl_abapgit_object_cdbo.clas.abap | 4 +- .../zif_abapgit_aff_type_mapping.intf.abap | 4 +- .../zif_abapgit_aff_types_v1.intf.abap | 4 +- .../jump/zcl_abapgit_adt_link.clas.abap | 2 +- .../jump/zif_abapgit_gui_jumper.intf.abap | 10 +- ...l_abapgit_object_tabl.clas.locals_imp.abap | 2 +- .../texts/zcl_abapgit_i18n_params.clas.abap | 6 +- .../texts/zcl_abapgit_lxe_texts.clas.abap | 10 +- .../texts/zcl_abapgit_sotr_handler.clas.abap | 12 +- .../texts/zcl_abapgit_sots_handler.clas.abap | 12 +- .../texts/zif_abapgit_lxe_texts.intf.abap | 20 +-- src/objects/zcl_abapgit_object_udmo.clas.abap | 6 +- src/objects/zcl_abapgit_object_ueno.clas.abap | 8 +- .../zcl_abapgit_persistence_db.clas.abap | 2 +- .../zif_abapgit_persist_repo_cs.intf.abap | 4 +- src/repo/zcl_abapgit_repo_checksums.clas.abap | 2 +- ...bapgit_repo_checksums.clas.locals_imp.abap | 6 +- ...apgit_repo_checksums.clas.testclasses.abap | 2 +- src/repo/zif_abapgit_repo_listener.intf.abap | 4 +- .../zcl_abapgit_gui_html_processor.clas.abap | 6 +- src/ui/core/zcl_abapgit_gui_utils.clas.abap | 4 +- src/ui/core/zcl_abapgit_html.clas.abap | 2 +- src/ui/core/zcl_abapgit_html_parts.clas.abap | 8 +- .../zif_abapgit_gui_event_handler.intf.abap | 2 +- .../zif_abapgit_gui_html_processor.intf.abap | 4 +- src/ui/core/zif_abapgit_html.intf.abap | 98 +++++------ .../lib/zcl_abapgit_gui_chunk_lib.clas.abap | 6 +- src/ui/lib/zcl_abapgit_html_table.clas.abap | 32 ++-- src/ui/lib/zcl_abapgit_html_toolbar.clas.abap | 2 +- src/ui/lib/zif_abapgit_html_table.intf.abap | 24 +-- .../zcl_abapgit_gui_page_codi_base.clas.abap | 18 +-- .../zcl_abapgit_gui_page_whereused.clas.abap | 4 +- .../zcl_abapgit_gui_page_sett_glob.clas.abap | 2 +- ...it_gui_page_repo_over.clas.locals_imp.abap | 2 +- .../zcl_abapgit_gui_page_stage.clas.abap | 18 +-- .../routing/zcl_abapgit_gui_router.clas.abap | 2 +- src/utils/zcl_abapgit_log.clas.abap | 2 +- src/utils/zcl_abapgit_string_map.clas.abap | 2 +- src/utils/zif_abapgit_log.intf.abap | 10 +- test/src/zcl_abapgit_gitea.clas.abap | 2 +- test/src/zif_abapgit_web_request.intf.abap | 2 +- 56 files changed, 377 insertions(+), 376 deletions(-) diff --git a/abaplint.json b/abaplint.json index 333174f8d..730fae701 100644 --- a/abaplint.json +++ b/abaplint.json @@ -57,6 +57,7 @@ ] }, "abapdoc": false, + "align_type_expressions": true, "align_pseudo_comments": false, "invalid_table_index": true, "tables_declared_locally": true, @@ -291,7 +292,7 @@ "/json/", "zcl_abapgit_object_pdts.clas.testclasses.abap" ], - "length": 120 + "length": 125 }, "line_only_punc": { "ignoreExceptions": true diff --git a/src/data/zcl_abapgit_data_utils.clas.abap b/src/data/zcl_abapgit_data_utils.clas.abap index 628eb30dd..91da50dd8 100644 --- a/src/data/zcl_abapgit_data_utils.clas.abap +++ b/src/data/zcl_abapgit_data_utils.clas.abap @@ -23,7 +23,7 @@ CLASS zcl_abapgit_data_utils DEFINITION VALUE(rv_filename) TYPE string. CLASS-METHODS jump IMPORTING - !is_item TYPE zif_abapgit_definitions=>ty_item + !is_item TYPE zif_abapgit_definitions=>ty_item RAISING zcx_abapgit_exception. CLASS-METHODS does_table_exist diff --git a/src/inspect/zcl_abapgit_where_used_tools.clas.abap b/src/inspect/zcl_abapgit_where_used_tools.clas.abap index e6a34c7aa..d99572336 100644 --- a/src/inspect/zcl_abapgit_where_used_tools.clas.abap +++ b/src/inspect/zcl_abapgit_where_used_tools.clas.abap @@ -30,11 +30,11 @@ CLASS zcl_abapgit_where_used_tools DEFINITION " here: https://github.com/sbcgua/crossdeps METHODS select_external_usages IMPORTING - iv_package TYPE tadir-devclass + iv_package TYPE tadir-devclass iv_ignore_subpackages TYPE abap_bool DEFAULT abap_false - ir_package_scope TYPE ty_devc_range OPTIONAL + ir_package_scope TYPE ty_devc_range OPTIONAL RETURNING - VALUE(rt_objs) TYPE ty_dependency_tt + VALUE(rt_objs) TYPE ty_dependency_tt RAISING zcx_abapgit_exception. diff --git a/src/json/zcl_abapgit_ajson.clas.abap b/src/json/zcl_abapgit_ajson.clas.abap index d59af1358..2dc42d7cf 100644 --- a/src/json/zcl_abapgit_ajson.clas.abap +++ b/src/json/zcl_abapgit_ajson.clas.abap @@ -55,25 +55,25 @@ CLASS zcl_abapgit_ajson DEFINITION !ii_custom_mapping TYPE REF TO zif_abapgit_ajson_mapping OPTIONAL !iv_keep_item_order TYPE abap_bool DEFAULT abap_false RETURNING - VALUE(ro_instance) TYPE REF TO zcl_abapgit_ajson + VALUE(ro_instance) TYPE REF TO zcl_abapgit_ajson RAISING zcx_abapgit_ajson_error . CLASS-METHODS create_empty " Might be deprecated, prefer using new( ) or create object IMPORTING - !ii_custom_mapping TYPE REF TO zif_abapgit_ajson_mapping OPTIONAL - iv_keep_item_order TYPE abap_bool DEFAULT abap_false - iv_format_datetime TYPE abap_bool DEFAULT abap_true + !ii_custom_mapping TYPE REF TO zif_abapgit_ajson_mapping OPTIONAL + iv_keep_item_order TYPE abap_bool DEFAULT abap_false + iv_format_datetime TYPE abap_bool DEFAULT abap_true iv_to_abap_corresponding_only TYPE abap_bool DEFAULT abap_false RETURNING - VALUE(ro_instance) TYPE REF TO zcl_abapgit_ajson. + VALUE(ro_instance) TYPE REF TO zcl_abapgit_ajson. " Experimental ! May change CLASS-METHODS create_from " TODO, rename to 'from' ? IMPORTING - !ii_source_json TYPE REF TO zif_abapgit_ajson - !ii_filter TYPE REF TO zif_abapgit_ajson_filter OPTIONAL " Might be deprecated, use filter() instead - !ii_mapper TYPE REF TO zif_abapgit_ajson_mapping OPTIONAL " Might be deprecated, use map() instead + !ii_source_json TYPE REF TO zif_abapgit_ajson + !ii_filter TYPE REF TO zif_abapgit_ajson_filter OPTIONAL " Might be deprecated, use filter() instead + !ii_mapper TYPE REF TO zif_abapgit_ajson_mapping OPTIONAL " Might be deprecated, use map() instead RETURNING VALUE(ro_instance) TYPE REF TO zcl_abapgit_ajson RAISING @@ -81,16 +81,16 @@ CLASS zcl_abapgit_ajson DEFINITION METHODS constructor IMPORTING - iv_keep_item_order TYPE abap_bool DEFAULT abap_false - iv_format_datetime TYPE abap_bool DEFAULT abap_true + iv_keep_item_order TYPE abap_bool DEFAULT abap_false + iv_format_datetime TYPE abap_bool DEFAULT abap_true iv_to_abap_corresponding_only TYPE abap_bool DEFAULT abap_false. CLASS-METHODS new IMPORTING - iv_keep_item_order TYPE abap_bool DEFAULT abap_false - iv_format_datetime TYPE abap_bool DEFAULT abap_true + iv_keep_item_order TYPE abap_bool DEFAULT abap_false + iv_format_datetime TYPE abap_bool DEFAULT abap_true iv_to_abap_corresponding_only TYPE abap_bool DEFAULT abap_false RETURNING - VALUE(ro_instance) TYPE REF TO zcl_abapgit_ajson. + VALUE(ro_instance) TYPE REF TO zcl_abapgit_ajson. PROTECTED SECTION. @@ -108,16 +108,16 @@ CLASS zcl_abapgit_ajson DEFINITION VALUE(rv_item) TYPE REF TO zif_abapgit_ajson_types=>ty_node. METHODS prove_path_exists IMPORTING - iv_path TYPE string + iv_path TYPE string RETURNING VALUE(rr_end_node) TYPE REF TO zif_abapgit_ajson_types=>ty_node RAISING zcx_abapgit_ajson_error. METHODS delete_subtree IMPORTING - iv_path TYPE string - iv_name TYPE string - ir_parent TYPE REF TO zif_abapgit_ajson_types=>ty_node OPTIONAL + iv_path TYPE string + iv_name TYPE string + ir_parent TYPE REF TO zif_abapgit_ajson_types=>ty_node OPTIONAL RETURNING VALUE(rs_top_node) TYPE zif_abapgit_ajson_types=>ty_node. METHODS read_only_watchdog diff --git a/src/json/zcl_abapgit_ajson.clas.locals_imp.abap b/src/json/zcl_abapgit_ajson.clas.locals_imp.abap index b05631de3..8bce7c6ce 100644 --- a/src/json/zcl_abapgit_ajson.clas.locals_imp.abap +++ b/src/json/zcl_abapgit_ajson.clas.locals_imp.abap @@ -59,25 +59,25 @@ CLASS lcl_utils DEFINITION FINAL. CLASS-METHODS normalize_path IMPORTING - iv_path TYPE string + iv_path TYPE string RETURNING VALUE(rv_path) TYPE string. CLASS-METHODS split_path IMPORTING - iv_path TYPE string + iv_path TYPE string RETURNING VALUE(rv_path_name) TYPE zif_abapgit_ajson_types=>ty_path_name. CLASS-METHODS validate_array_index IMPORTING - iv_path TYPE string - iv_index TYPE string + iv_path TYPE string + iv_index TYPE string RETURNING VALUE(rv_index) TYPE i RAISING zcx_abapgit_ajson_error. CLASS-METHODS string_to_xstring_utf8 IMPORTING - iv_str TYPE string + iv_str TYPE string RETURNING VALUE(rv_xstr) TYPE xstring. @@ -188,8 +188,8 @@ CLASS lcl_json_parser DEFINITION FINAL. METHODS parse IMPORTING - iv_json TYPE string - iv_keep_item_order TYPE abap_bool DEFAULT abap_false + iv_json TYPE string + iv_keep_item_order TYPE abap_bool DEFAULT abap_false RETURNING VALUE(rt_json_tree) TYPE zif_abapgit_ajson_types=>ty_nodes_tt RAISING @@ -212,7 +212,7 @@ CLASS lcl_json_parser DEFINITION FINAL. METHODS _parse IMPORTING - iv_json TYPE string + iv_json TYPE string RETURNING VALUE(rt_json_tree) TYPE zif_abapgit_ajson_types=>ty_nodes_tt RAISING @@ -406,9 +406,9 @@ CLASS lcl_json_serializer DEFINITION FINAL CREATE PRIVATE. CLASS-METHODS stringify IMPORTING - it_json_tree TYPE zif_abapgit_ajson_types=>ty_nodes_ts - iv_indent TYPE i DEFAULT 0 - iv_keep_item_order TYPE abap_bool DEFAULT abap_false + it_json_tree TYPE zif_abapgit_ajson_types=>ty_nodes_ts + iv_indent TYPE i DEFAULT 0 + iv_keep_item_order TYPE abap_bool DEFAULT abap_false RETURNING VALUE(rv_json_string) TYPE string RAISING @@ -428,7 +428,7 @@ CLASS lcl_json_serializer DEFINITION FINAL CREATE PRIVATE. CLASS-METHODS escape_string IMPORTING - iv_unescaped TYPE string + iv_unescaped TYPE string RETURNING VALUE(rv_escaped) TYPE string. @@ -447,7 +447,7 @@ CLASS lcl_json_serializer DEFINITION FINAL CREATE PRIVATE. METHODS stringify_set IMPORTING iv_parent_path TYPE string - iv_array TYPE abap_bool + iv_array TYPE abap_bool RAISING zcx_abapgit_ajson_error. @@ -650,7 +650,7 @@ CLASS lcl_json_to_abap DEFINITION FINAL. METHODS to_abap IMPORTING - it_nodes TYPE zif_abapgit_ajson_types=>ty_nodes_ts + it_nodes TYPE zif_abapgit_ajson_types=>ty_nodes_ts CHANGING c_container TYPE any RAISING @@ -698,16 +698,16 @@ CLASS lcl_json_to_abap DEFINITION FINAL. METHODS any_to_abap IMPORTING - iv_path TYPE string - is_parent_type TYPE ty_type_cache OPTIONAL + iv_path TYPE string + is_parent_type TYPE ty_type_cache OPTIONAL i_container_ref TYPE REF TO data RAISING zcx_abapgit_ajson_error. METHODS value_to_abap IMPORTING - is_node TYPE zif_abapgit_ajson_types=>ty_node - is_node_type TYPE ty_type_cache + is_node TYPE zif_abapgit_ajson_types=>ty_node + is_node_type TYPE ty_type_cache i_container_ref TYPE REF TO data RAISING zcx_abapgit_ajson_error @@ -715,9 +715,9 @@ CLASS lcl_json_to_abap DEFINITION FINAL. METHODS get_node_type IMPORTING - is_node TYPE zif_abapgit_ajson_types=>ty_node OPTIONAL " Empty for root - is_parent_type TYPE ty_type_cache OPTIONAL - i_container_ref TYPE REF TO data OPTIONAL + is_node TYPE zif_abapgit_ajson_types=>ty_node OPTIONAL " Empty for root + is_parent_type TYPE ty_type_cache OPTIONAL + i_container_ref TYPE REF TO data OPTIONAL RETURNING VALUE(rs_node_type) TYPE ty_type_cache RAISING @@ -1141,12 +1141,12 @@ CLASS lcl_abap_to_json DEFINITION FINAL. CLASS-METHODS convert IMPORTING - iv_data TYPE any - is_prefix TYPE zif_abapgit_ajson_types=>ty_path_name OPTIONAL - iv_array_index TYPE i DEFAULT 0 - ii_custom_mapping TYPE REF TO zif_abapgit_ajson_mapping OPTIONAL - is_opts TYPE zif_abapgit_ajson=>ty_opts OPTIONAL - iv_item_order TYPE i DEFAULT 0 + iv_data TYPE any + is_prefix TYPE zif_abapgit_ajson_types=>ty_path_name OPTIONAL + iv_array_index TYPE i DEFAULT 0 + ii_custom_mapping TYPE REF TO zif_abapgit_ajson_mapping OPTIONAL + is_opts TYPE zif_abapgit_ajson=>ty_opts OPTIONAL + iv_item_order TYPE i DEFAULT 0 RETURNING VALUE(rt_nodes) TYPE zif_abapgit_ajson_types=>ty_nodes_tt RAISING @@ -1154,13 +1154,13 @@ CLASS lcl_abap_to_json DEFINITION FINAL. CLASS-METHODS insert_with_type IMPORTING - iv_data TYPE any - iv_type TYPE zif_abapgit_ajson_types=>ty_node_type - is_prefix TYPE zif_abapgit_ajson_types=>ty_path_name OPTIONAL - iv_array_index TYPE i DEFAULT 0 - ii_custom_mapping TYPE REF TO zif_abapgit_ajson_mapping OPTIONAL - is_opts TYPE zif_abapgit_ajson=>ty_opts OPTIONAL - iv_item_order TYPE i DEFAULT 0 + iv_data TYPE any + iv_type TYPE zif_abapgit_ajson_types=>ty_node_type + is_prefix TYPE zif_abapgit_ajson_types=>ty_path_name OPTIONAL + iv_array_index TYPE i DEFAULT 0 + ii_custom_mapping TYPE REF TO zif_abapgit_ajson_mapping OPTIONAL + is_opts TYPE zif_abapgit_ajson=>ty_opts OPTIONAL + iv_item_order TYPE i DEFAULT 0 RETURNING VALUE(rt_nodes) TYPE zif_abapgit_ajson_types=>ty_nodes_tt RAISING @@ -1168,17 +1168,17 @@ CLASS lcl_abap_to_json DEFINITION FINAL. CLASS-METHODS format_date IMPORTING - iv_date TYPE d + iv_date TYPE d RETURNING VALUE(rv_str) TYPE string. CLASS-METHODS format_time IMPORTING - iv_time TYPE t + iv_time TYPE t RETURNING VALUE(rv_str) TYPE string. CLASS-METHODS format_timestamp IMPORTING - iv_ts TYPE timestamp + iv_ts TYPE timestamp RETURNING VALUE(rv_str) TYPE string. @@ -1193,84 +1193,84 @@ CLASS lcl_abap_to_json DEFINITION FINAL. METHODS convert_any IMPORTING - iv_data TYPE any - io_type TYPE REF TO cl_abap_typedescr - is_prefix TYPE zif_abapgit_ajson_types=>ty_path_name - iv_index TYPE i DEFAULT 0 + iv_data TYPE any + io_type TYPE REF TO cl_abap_typedescr + is_prefix TYPE zif_abapgit_ajson_types=>ty_path_name + iv_index TYPE i DEFAULT 0 iv_item_order TYPE i DEFAULT 0 CHANGING - ct_nodes TYPE zif_abapgit_ajson_types=>ty_nodes_tt + ct_nodes TYPE zif_abapgit_ajson_types=>ty_nodes_tt RAISING zcx_abapgit_ajson_error. METHODS convert_ajson IMPORTING - io_json TYPE REF TO zif_abapgit_ajson - is_prefix TYPE zif_abapgit_ajson_types=>ty_path_name - iv_index TYPE i DEFAULT 0 + io_json TYPE REF TO zif_abapgit_ajson + is_prefix TYPE zif_abapgit_ajson_types=>ty_path_name + iv_index TYPE i DEFAULT 0 iv_item_order TYPE i DEFAULT 0 CHANGING - ct_nodes TYPE zif_abapgit_ajson_types=>ty_nodes_tt + ct_nodes TYPE zif_abapgit_ajson_types=>ty_nodes_tt RAISING zcx_abapgit_ajson_error. METHODS convert_value IMPORTING - iv_data TYPE any - io_type TYPE REF TO cl_abap_typedescr - is_prefix TYPE zif_abapgit_ajson_types=>ty_path_name - iv_index TYPE i DEFAULT 0 + iv_data TYPE any + io_type TYPE REF TO cl_abap_typedescr + is_prefix TYPE zif_abapgit_ajson_types=>ty_path_name + iv_index TYPE i DEFAULT 0 iv_item_order TYPE i DEFAULT 0 CHANGING - ct_nodes TYPE zif_abapgit_ajson_types=>ty_nodes_tt + ct_nodes TYPE zif_abapgit_ajson_types=>ty_nodes_tt RAISING zcx_abapgit_ajson_error. METHODS convert_ref IMPORTING - iv_data TYPE any - is_prefix TYPE zif_abapgit_ajson_types=>ty_path_name - iv_index TYPE i DEFAULT 0 + iv_data TYPE any + is_prefix TYPE zif_abapgit_ajson_types=>ty_path_name + iv_index TYPE i DEFAULT 0 iv_item_order TYPE i DEFAULT 0 CHANGING - ct_nodes TYPE zif_abapgit_ajson_types=>ty_nodes_tt + ct_nodes TYPE zif_abapgit_ajson_types=>ty_nodes_tt RAISING zcx_abapgit_ajson_error. METHODS convert_struc IMPORTING - iv_data TYPE any - io_type TYPE REF TO cl_abap_typedescr - is_prefix TYPE zif_abapgit_ajson_types=>ty_path_name - iv_index TYPE i DEFAULT 0 + iv_data TYPE any + io_type TYPE REF TO cl_abap_typedescr + is_prefix TYPE zif_abapgit_ajson_types=>ty_path_name + iv_index TYPE i DEFAULT 0 iv_item_order TYPE i DEFAULT 0 CHANGING - ct_nodes TYPE zif_abapgit_ajson_types=>ty_nodes_tt + ct_nodes TYPE zif_abapgit_ajson_types=>ty_nodes_tt RAISING zcx_abapgit_ajson_error. METHODS convert_table IMPORTING - iv_data TYPE any - io_type TYPE REF TO cl_abap_typedescr - is_prefix TYPE zif_abapgit_ajson_types=>ty_path_name - iv_index TYPE i DEFAULT 0 + iv_data TYPE any + io_type TYPE REF TO cl_abap_typedescr + is_prefix TYPE zif_abapgit_ajson_types=>ty_path_name + iv_index TYPE i DEFAULT 0 iv_item_order TYPE i DEFAULT 0 CHANGING - ct_nodes TYPE zif_abapgit_ajson_types=>ty_nodes_tt + ct_nodes TYPE zif_abapgit_ajson_types=>ty_nodes_tt RAISING zcx_abapgit_ajson_error. METHODS insert_value_with_type IMPORTING - iv_data TYPE any - iv_type TYPE zif_abapgit_ajson_types=>ty_node_type - io_type TYPE REF TO cl_abap_typedescr - is_prefix TYPE zif_abapgit_ajson_types=>ty_path_name - iv_index TYPE i DEFAULT 0 + iv_data TYPE any + iv_type TYPE zif_abapgit_ajson_types=>ty_node_type + io_type TYPE REF TO cl_abap_typedescr + is_prefix TYPE zif_abapgit_ajson_types=>ty_path_name + iv_index TYPE i DEFAULT 0 iv_item_order TYPE i DEFAULT 0 CHANGING - ct_nodes TYPE zif_abapgit_ajson_types=>ty_nodes_tt + ct_nodes TYPE zif_abapgit_ajson_types=>ty_nodes_tt RAISING zcx_abapgit_ajson_error. @@ -1751,7 +1751,7 @@ INTERFACE lif_mutator_runner. IMPORTING it_source_tree TYPE zif_abapgit_ajson_types=>ty_nodes_ts EXPORTING - et_dest_tree TYPE zif_abapgit_ajson_types=>ty_nodes_ts + et_dest_tree TYPE zif_abapgit_ajson_types=>ty_nodes_ts RAISING zcx_abapgit_ajson_error. ENDINTERFACE. @@ -1765,7 +1765,7 @@ CLASS lcl_filter_runner DEFINITION FINAL. INTERFACES lif_mutator_runner. CLASS-METHODS new IMPORTING - ii_filter TYPE REF TO zif_abapgit_ajson_filter + ii_filter TYPE REF TO zif_abapgit_ajson_filter RETURNING VALUE(ro_instance) TYPE REF TO lcl_filter_runner. METHODS constructor @@ -1779,7 +1779,7 @@ CLASS lcl_filter_runner DEFINITION FINAL. METHODS walk IMPORTING - iv_path TYPE string + iv_path TYPE string CHANGING cs_parent TYPE zif_abapgit_ajson_types=>ty_node OPTIONAL RAISING @@ -1877,7 +1877,7 @@ CLASS lcl_mapper_runner DEFINITION FINAL. INTERFACES lif_mutator_runner. CLASS-METHODS new IMPORTING - ii_mapper TYPE REF TO zif_abapgit_ajson_mapping + ii_mapper TYPE REF TO zif_abapgit_ajson_mapping RETURNING VALUE(ro_instance) TYPE REF TO lcl_mapper_runner. METHODS constructor @@ -1991,7 +1991,7 @@ CLASS lcl_mutator_queue DEFINITION FINAL. VALUE(ro_instance) TYPE REF TO lcl_mutator_queue. METHODS add IMPORTING - ii_mutator TYPE REF TO lif_mutator_runner + ii_mutator TYPE REF TO lif_mutator_runner RETURNING VALUE(ro_self) TYPE REF TO lcl_mutator_queue. diff --git a/src/json/zcl_abapgit_ajson.clas.testclasses.abap b/src/json/zcl_abapgit_ajson.clas.testclasses.abap index 44f28ff91..22bf31ba7 100644 --- a/src/json/zcl_abapgit_ajson.clas.testclasses.abap +++ b/src/json/zcl_abapgit_ajson.clas.testclasses.abap @@ -65,7 +65,7 @@ CLASS ltcl_parser_test DEFINITION FINAL CLASS-METHODS sample_json IMPORTING - iv_separator TYPE string OPTIONAL + iv_separator TYPE string OPTIONAL RETURNING VALUE(rv_json) TYPE string. @@ -1395,17 +1395,17 @@ CLASS ltcl_json_to_abap DEFINITION tty_struc_sorted TYPE SORTED TABLE OF ty_struc WITH UNIQUE KEY a, tty_struc_hashed TYPE HASHED TABLE OF ty_struc WITH UNIQUE KEY a, BEGIN OF ty_complex, - str TYPE string, - int TYPE i, - float TYPE f, - bool TYPE abap_bool, - obj TYPE ty_struc, - tab TYPE tty_struc, + str TYPE string, + int TYPE i, + float TYPE f, + bool TYPE abap_bool, + obj TYPE ty_struc, + tab TYPE tty_struc, tab_plain TYPE string_table, tab_hashed TYPE tty_struc_hashed, - oref TYPE REF TO object, - date1 TYPE d, - date2 TYPE d, + oref TYPE REF TO object, + date1 TYPE d, + date2 TYPE d, timestamp1 TYPE timestamp, timestamp2 TYPE timestamp, timestamp3 TYPE timestamp, @@ -2416,9 +2416,9 @@ CLASS ltcl_writer_test DEFINITION FINAL METHODS set_with_type_slice IMPORTING - io_json_in TYPE REF TO zcl_abapgit_ajson + io_json_in TYPE REF TO zcl_abapgit_ajson io_json_out TYPE REF TO zif_abapgit_ajson - iv_path TYPE string + iv_path TYPE string RAISING zcx_abapgit_ajson_error. @@ -3724,22 +3724,22 @@ CLASS ltcl_integrated DEFINITION col TYPE i, END OF ty_loc, BEGIN OF ty_issue, - message TYPE string, - key TYPE string, + message TYPE string, + key TYPE string, filename TYPE string, - start TYPE ty_loc, - end TYPE ty_loc, + start TYPE ty_loc, + end TYPE ty_loc, END OF ty_issue, tt_issues TYPE STANDARD TABLE OF ty_issue WITH KEY message key, BEGIN OF ty_target, - string TYPE string, - number TYPE i, - float TYPE f, + string TYPE string, + number TYPE i, + float TYPE f, boolean TYPE abap_bool, - false TYPE abap_bool, - null TYPE string, - date TYPE string, " ??? TODO - issues TYPE tt_issues, + false TYPE abap_bool, + null TYPE string, + date TYPE string, " ??? TODO + issues TYPE tt_issues, END OF ty_target. METHODS reader FOR TESTING RAISING zcx_abapgit_ajson_error. diff --git a/src/json/zcl_abapgit_ajson_filter_lib.clas.abap b/src/json/zcl_abapgit_ajson_filter_lib.clas.abap index 275768640..7639979f3 100644 --- a/src/json/zcl_abapgit_ajson_filter_lib.clas.abap +++ b/src/json/zcl_abapgit_ajson_filter_lib.clas.abap @@ -12,16 +12,16 @@ CLASS zcl_abapgit_ajson_filter_lib DEFINITION zcx_abapgit_ajson_error . CLASS-METHODS create_path_filter IMPORTING - !it_skip_paths TYPE string_table OPTIONAL - !iv_skip_paths TYPE string OPTIONAL + !it_skip_paths TYPE string_table OPTIONAL + !iv_skip_paths TYPE string OPTIONAL !iv_pattern_search TYPE abap_bool DEFAULT abap_false RETURNING - VALUE(ri_filter) TYPE REF TO zif_abapgit_ajson_filter + VALUE(ri_filter) TYPE REF TO zif_abapgit_ajson_filter RAISING zcx_abapgit_ajson_error . CLASS-METHODS create_and_filter IMPORTING - !it_filters TYPE zif_abapgit_ajson_filter=>ty_filter_tab + !it_filters TYPE zif_abapgit_ajson_filter=>ty_filter_tab RETURNING VALUE(ri_filter) TYPE REF TO zif_abapgit_ajson_filter RAISING diff --git a/src/json/zcl_abapgit_ajson_filter_lib.clas.locals_imp.abap b/src/json/zcl_abapgit_ajson_filter_lib.clas.locals_imp.abap index 20458079e..42f12e631 100644 --- a/src/json/zcl_abapgit_ajson_filter_lib.clas.locals_imp.abap +++ b/src/json/zcl_abapgit_ajson_filter_lib.clas.locals_imp.abap @@ -27,8 +27,8 @@ CLASS lcl_paths_filter DEFINITION FINAL. INTERFACES zif_abapgit_ajson_filter. METHODS constructor IMPORTING - it_skip_paths TYPE string_table OPTIONAL - iv_skip_paths TYPE string OPTIONAL + it_skip_paths TYPE string_table OPTIONAL + iv_skip_paths TYPE string OPTIONAL iv_pattern_search TYPE abap_bool RAISING zcx_abapgit_ajson_error. diff --git a/src/json/zcl_abapgit_ajson_mapping.clas.abap b/src/json/zcl_abapgit_ajson_mapping.clas.abap index 22bee5934..caa444b9a 100644 --- a/src/json/zcl_abapgit_ajson_mapping.clas.abap +++ b/src/json/zcl_abapgit_ajson_mapping.clas.abap @@ -40,17 +40,17 @@ CLASS zcl_abapgit_ajson_mapping DEFINITION CLASS-METHODS create_rename IMPORTING - it_rename_map TYPE zif_abapgit_ajson_mapping=>tty_rename_map - iv_rename_by TYPE i DEFAULT rename_by-attr_name + it_rename_map TYPE zif_abapgit_ajson_mapping=>tty_rename_map + iv_rename_by TYPE i DEFAULT rename_by-attr_name RETURNING VALUE(ri_mapping) TYPE REF TO zif_abapgit_ajson_mapping. CLASS-METHODS create_compound_mapper IMPORTING - ii_mapper1 TYPE REF TO zif_abapgit_ajson_mapping OPTIONAL - ii_mapper2 TYPE REF TO zif_abapgit_ajson_mapping OPTIONAL - ii_mapper3 TYPE REF TO zif_abapgit_ajson_mapping OPTIONAL - it_more TYPE zif_abapgit_ajson_mapping=>ty_table_of OPTIONAL + ii_mapper1 TYPE REF TO zif_abapgit_ajson_mapping OPTIONAL + ii_mapper2 TYPE REF TO zif_abapgit_ajson_mapping OPTIONAL + ii_mapper3 TYPE REF TO zif_abapgit_ajson_mapping OPTIONAL + it_more TYPE zif_abapgit_ajson_mapping=>ty_table_of OPTIONAL RETURNING VALUE(ri_mapping) TYPE REF TO zif_abapgit_ajson_mapping. @@ -62,7 +62,7 @@ CLASS zcl_abapgit_ajson_mapping DEFINITION IMPORTING iv_first_json_upper TYPE abap_bool DEFAULT abap_false RETURNING - VALUE(ri_mapping) TYPE REF TO zif_abapgit_ajson_mapping. + VALUE(ri_mapping) TYPE REF TO zif_abapgit_ajson_mapping. PROTECTED SECTION. diff --git a/src/json/zcl_abapgit_ajson_mapping.clas.locals_def.abap b/src/json/zcl_abapgit_ajson_mapping.clas.locals_def.abap index 1768fe796..a6f21a602 100644 --- a/src/json/zcl_abapgit_ajson_mapping.clas.locals_def.abap +++ b/src/json/zcl_abapgit_ajson_mapping.clas.locals_def.abap @@ -22,7 +22,7 @@ CLASS lcl_rename DEFINITION. METHODS constructor IMPORTING it_rename_map TYPE zif_abapgit_ajson_mapping~tty_rename_map - iv_rename_by TYPE i. + iv_rename_by TYPE i. PROTECTED SECTION. diff --git a/src/json/zcl_abapgit_ajson_utilities.clas.abap b/src/json/zcl_abapgit_ajson_utilities.clas.abap index 7a41bbfd6..52b10a4a4 100644 --- a/src/json/zcl_abapgit_ajson_utilities.clas.abap +++ b/src/json/zcl_abapgit_ajson_utilities.clas.abap @@ -41,10 +41,10 @@ CLASS zcl_abapgit_ajson_utilities DEFINITION zcx_abapgit_ajson_error . METHODS is_equal IMPORTING - !iv_json_a TYPE string OPTIONAL - !iv_json_b TYPE string OPTIONAL - !ii_json_a TYPE REF TO zif_abapgit_ajson OPTIONAL - !ii_json_b TYPE REF TO zif_abapgit_ajson OPTIONAL + !iv_json_a TYPE string OPTIONAL + !iv_json_b TYPE string OPTIONAL + !ii_json_a TYPE REF TO zif_abapgit_ajson OPTIONAL + !ii_json_b TYPE REF TO zif_abapgit_ajson OPTIONAL RETURNING VALUE(rv_yes) TYPE abap_bool RAISING diff --git a/src/json/zif_abapgit_ajson.intf.abap b/src/json/zif_abapgit_ajson.intf.abap index f6ddde331..9937a244f 100644 --- a/src/json/zif_abapgit_ajson.intf.abap +++ b/src/json/zif_abapgit_ajson.intf.abap @@ -7,9 +7,9 @@ INTERFACE zif_abapgit_ajson TYPES: BEGIN OF ty_opts, - read_only TYPE abap_bool, - keep_item_order TYPE abap_bool, - format_datetime TYPE abap_bool, + read_only TYPE abap_bool, + keep_item_order TYPE abap_bool, + format_datetime TYPE abap_bool, to_abap_corresponding_only TYPE abap_bool, END OF ty_opts. @@ -26,14 +26,14 @@ INTERFACE zif_abapgit_ajson zcx_abapgit_ajson_error. METHODS filter IMPORTING - ii_filter TYPE REF TO zif_abapgit_ajson_filter + ii_filter TYPE REF TO zif_abapgit_ajson_filter RETURNING VALUE(ri_json) TYPE REF TO zif_abapgit_ajson RAISING zcx_abapgit_ajson_error. METHODS map IMPORTING - ii_mapper TYPE REF TO zif_abapgit_ajson_mapping + ii_mapper TYPE REF TO zif_abapgit_ajson_mapping RETURNING VALUE(ri_json) TYPE REF TO zif_abapgit_ajson RAISING @@ -47,12 +47,12 @@ INTERFACE zif_abapgit_ajson VALUE(ri_json) TYPE REF TO zif_abapgit_ajson. METHODS format_datetime IMPORTING - iv_use_iso TYPE abap_bool DEFAULT abap_true + iv_use_iso TYPE abap_bool DEFAULT abap_true RETURNING VALUE(ri_json) TYPE REF TO zif_abapgit_ajson. METHODS to_abap_corresponding_only IMPORTING - iv_enable TYPE abap_bool DEFAULT abap_true + iv_enable TYPE abap_bool DEFAULT abap_true RETURNING VALUE(ri_json) TYPE REF TO zif_abapgit_ajson. METHODS opts @@ -67,67 +67,67 @@ INTERFACE zif_abapgit_ajson METHODS exists IMPORTING - iv_path TYPE string + iv_path TYPE string RETURNING VALUE(rv_exists) TYPE abap_bool. METHODS members IMPORTING - iv_path TYPE string + iv_path TYPE string RETURNING VALUE(rt_members) TYPE string_table. METHODS get IMPORTING - iv_path TYPE string + iv_path TYPE string RETURNING VALUE(rv_value) TYPE string. METHODS get_node_type IMPORTING - iv_path TYPE string + iv_path TYPE string RETURNING VALUE(rv_node_type) TYPE zif_abapgit_ajson_types=>ty_node_type. METHODS get_boolean IMPORTING - iv_path TYPE string + iv_path TYPE string RETURNING VALUE(rv_value) TYPE abap_bool. METHODS get_integer IMPORTING - iv_path TYPE string + iv_path TYPE string RETURNING VALUE(rv_value) TYPE i. METHODS get_number IMPORTING - iv_path TYPE string + iv_path TYPE string RETURNING VALUE(rv_value) TYPE f. METHODS get_date IMPORTING - iv_path TYPE string + iv_path TYPE string RETURNING VALUE(rv_value) TYPE d. METHODS get_timestamp IMPORTING - iv_path TYPE string + iv_path TYPE string RETURNING VALUE(rv_value) TYPE timestamp. METHODS get_string IMPORTING - iv_path TYPE string + iv_path TYPE string RETURNING VALUE(rv_value) TYPE string. METHODS slice IMPORTING - iv_path TYPE string + iv_path TYPE string RETURNING VALUE(ri_json) TYPE REF TO zif_abapgit_ajson. @@ -135,13 +135,13 @@ INTERFACE zif_abapgit_ajson IMPORTING iv_corresponding TYPE abap_bool DEFAULT abap_false EXPORTING - ev_container TYPE any + ev_container TYPE any RAISING zcx_abapgit_ajson_error. METHODS array_to_string_table IMPORTING - iv_path TYPE string + iv_path TYPE string RETURNING VALUE(rt_string_table) TYPE string_table RAISING @@ -155,18 +155,18 @@ INTERFACE zif_abapgit_ajson METHODS set IMPORTING - iv_path TYPE string - iv_val TYPE any + iv_path TYPE string + iv_val TYPE any iv_ignore_empty TYPE abap_bool DEFAULT abap_true - iv_node_type TYPE zif_abapgit_ajson_types=>ty_node_type OPTIONAL + iv_node_type TYPE zif_abapgit_ajson_types=>ty_node_type OPTIONAL RETURNING - VALUE(ri_json) TYPE REF TO zif_abapgit_ajson + VALUE(ri_json) TYPE REF TO zif_abapgit_ajson RAISING zcx_abapgit_ajson_error. METHODS setx IMPORTING - iv_param TYPE string + iv_param TYPE string RETURNING VALUE(ri_json) TYPE REF TO zif_abapgit_ajson RAISING @@ -174,8 +174,8 @@ INTERFACE zif_abapgit_ajson METHODS set_boolean IMPORTING - iv_path TYPE string - iv_val TYPE any + iv_path TYPE string + iv_val TYPE any RETURNING VALUE(ri_json) TYPE REF TO zif_abapgit_ajson RAISING @@ -183,8 +183,8 @@ INTERFACE zif_abapgit_ajson METHODS set_string IMPORTING - iv_path TYPE string - iv_val TYPE clike + iv_path TYPE string + iv_val TYPE clike RETURNING VALUE(ri_json) TYPE REF TO zif_abapgit_ajson RAISING @@ -192,8 +192,8 @@ INTERFACE zif_abapgit_ajson METHODS set_integer IMPORTING - iv_path TYPE string - iv_val TYPE i + iv_path TYPE string + iv_val TYPE i RETURNING VALUE(ri_json) TYPE REF TO zif_abapgit_ajson RAISING @@ -201,8 +201,8 @@ INTERFACE zif_abapgit_ajson METHODS set_date IMPORTING - iv_path TYPE string - iv_val TYPE d + iv_path TYPE string + iv_val TYPE d RETURNING VALUE(ri_json) TYPE REF TO zif_abapgit_ajson RAISING @@ -210,8 +210,8 @@ INTERFACE zif_abapgit_ajson METHODS set_timestamp IMPORTING - iv_path TYPE string - iv_val TYPE timestamp + iv_path TYPE string + iv_val TYPE timestamp RETURNING VALUE(ri_json) TYPE REF TO zif_abapgit_ajson RAISING @@ -219,7 +219,7 @@ INTERFACE zif_abapgit_ajson METHODS set_null IMPORTING - iv_path TYPE string + iv_path TYPE string RETURNING VALUE(ri_json) TYPE REF TO zif_abapgit_ajson RAISING @@ -227,7 +227,7 @@ INTERFACE zif_abapgit_ajson METHODS delete IMPORTING - iv_path TYPE string + iv_path TYPE string RETURNING VALUE(ri_json) TYPE REF TO zif_abapgit_ajson RAISING @@ -235,8 +235,8 @@ INTERFACE zif_abapgit_ajson METHODS touch_array IMPORTING - iv_path TYPE string - iv_clear TYPE abap_bool DEFAULT abap_false + iv_path TYPE string + iv_clear TYPE abap_bool DEFAULT abap_false RETURNING VALUE(ri_json) TYPE REF TO zif_abapgit_ajson RAISING @@ -244,8 +244,8 @@ INTERFACE zif_abapgit_ajson METHODS push IMPORTING - iv_path TYPE string - iv_val TYPE any + iv_path TYPE string + iv_val TYPE any RETURNING VALUE(ri_json) TYPE REF TO zif_abapgit_ajson RAISING @@ -253,7 +253,7 @@ INTERFACE zif_abapgit_ajson METHODS stringify IMPORTING - iv_indent TYPE i DEFAULT 0 + iv_indent TYPE i DEFAULT 0 RETURNING VALUE(rv_json) TYPE string RAISING diff --git a/src/json/zif_abapgit_ajson_filter.intf.abap b/src/json/zif_abapgit_ajson_filter.intf.abap index 93d927415..39ace3df7 100644 --- a/src/json/zif_abapgit_ajson_filter.intf.abap +++ b/src/json/zif_abapgit_ajson_filter.intf.abap @@ -13,8 +13,8 @@ INTERFACE zif_abapgit_ajson_filter METHODS keep_node IMPORTING - is_node TYPE zif_abapgit_ajson_types=>ty_node - iv_visit TYPE ty_visit_type DEFAULT visit_type-value + is_node TYPE zif_abapgit_ajson_types=>ty_node + iv_visit TYPE ty_visit_type DEFAULT visit_type-value RETURNING VALUE(rv_keep) TYPE abap_bool RAISING diff --git a/src/json/zif_abapgit_ajson_mapping.intf.abap b/src/json/zif_abapgit_ajson_mapping.intf.abap index 73d19fc5e..eeb7997c1 100644 --- a/src/json/zif_abapgit_ajson_mapping.intf.abap +++ b/src/json/zif_abapgit_ajson_mapping.intf.abap @@ -13,7 +13,7 @@ INTERFACE zif_abapgit_ajson_mapping TYPES: BEGIN OF ty_rename, from TYPE string, - to TYPE string, + to TYPE string, END OF ty_rename, tty_rename_map TYPE STANDARD TABLE OF ty_rename WITH UNIQUE SORTED KEY by_name COMPONENTS from. diff --git a/src/json/zif_abapgit_ajson_types.intf.abap b/src/json/zif_abapgit_ajson_types.intf.abap index 6ca76e1b3..3a217a964 100644 --- a/src/json/zif_abapgit_ajson_types.intf.abap +++ b/src/json/zif_abapgit_ajson_types.intf.abap @@ -16,12 +16,12 @@ INTERFACE zif_abapgit_ajson_types TYPES: BEGIN OF ty_node, - path TYPE string, - name TYPE string, - type TYPE ty_node_type, - value TYPE string, - index TYPE i, - order TYPE i, + path TYPE string, + name TYPE string, + type TYPE ty_node_type, + value TYPE string, + index TYPE i, + order TYPE i, children TYPE i, END OF ty_node. TYPES: diff --git a/src/objects/aff/zcl_abapgit_object_cdbo.clas.abap b/src/objects/aff/zcl_abapgit_object_cdbo.clas.abap index 16b32b01e..def199313 100644 --- a/src/objects/aff/zcl_abapgit_object_cdbo.clas.abap +++ b/src/objects/aff/zcl_abapgit_object_cdbo.clas.abap @@ -8,8 +8,8 @@ CLASS zcl_abapgit_object_cdbo DEFINITION METHODS constructor IMPORTING - !is_item TYPE zif_abapgit_definitions=>ty_item - !iv_language TYPE spras + !is_item TYPE zif_abapgit_definitions=>ty_item + !iv_language TYPE spras !io_files TYPE REF TO zcl_abapgit_objects_files OPTIONAL !io_i18n_params TYPE REF TO zcl_abapgit_i18n_params OPTIONAL RAISING diff --git a/src/objects/aff/zif_abapgit_aff_type_mapping.intf.abap b/src/objects/aff/zif_abapgit_aff_type_mapping.intf.abap index 1e433aadd..00ce88cb6 100644 --- a/src/objects/aff/zif_abapgit_aff_type_mapping.intf.abap +++ b/src/objects/aff/zif_abapgit_aff_type_mapping.intf.abap @@ -7,9 +7,9 @@ INTERFACE zif_abapgit_aff_type_mapping "! @parameter iv_object_name | Name of object "! @parameter es_data | ABAP data as abapGit type to_abapgit - IMPORTING iv_data TYPE data + IMPORTING iv_data TYPE data iv_object_name TYPE sobj_name - EXPORTING es_data TYPE data, + EXPORTING es_data TYPE data, "! Converts to AFF specific meta data "! diff --git a/src/objects/aff_types/zif_abapgit_aff_types_v1.intf.abap b/src/objects/aff_types/zif_abapgit_aff_types_v1.intf.abap index 67c681a73..fe5b71f06 100644 --- a/src/objects/aff_types/zif_abapgit_aff_types_v1.intf.abap +++ b/src/objects/aff_types/zif_abapgit_aff_types_v1.intf.abap @@ -58,8 +58,8 @@ INTERFACE zif_abapgit_aff_types_v1 PUBLIC. TYPES: BEGIN OF ty_header_60_no_abap_lv, - description TYPE ty_description_60, - original_language TYPE ty_original_language, + description TYPE ty_description_60, + original_language TYPE ty_original_language, END OF ty_header_60_no_abap_lv. TYPES: diff --git a/src/objects/jump/zcl_abapgit_adt_link.clas.abap b/src/objects/jump/zcl_abapgit_adt_link.clas.abap index 32f5bd3be..7bc4ae4ab 100644 --- a/src/objects/jump/zcl_abapgit_adt_link.clas.abap +++ b/src/objects/jump/zcl_abapgit_adt_link.clas.abap @@ -16,7 +16,7 @@ CLASS zcl_abapgit_adt_link DEFINITION CLASS-METHODS link_transport IMPORTING - iv_transport TYPE trkorr + iv_transport TYPE trkorr RETURNING VALUE(rv_link) TYPE string. diff --git a/src/objects/jump/zif_abapgit_gui_jumper.intf.abap b/src/objects/jump/zif_abapgit_gui_jumper.intf.abap index 4321c9188..7c66f17b7 100644 --- a/src/objects/jump/zif_abapgit_gui_jumper.intf.abap +++ b/src/objects/jump/zif_abapgit_gui_jumper.intf.abap @@ -6,12 +6,12 @@ INTERFACE zif_abapgit_gui_jumper METHODS jump IMPORTING - !is_item TYPE zif_abapgit_definitions=>ty_item - !is_sub_item TYPE zif_abapgit_definitions=>ty_item OPTIONAL - !iv_line_number TYPE i OPTIONAL - !iv_new_window TYPE abap_bool DEFAULT abap_true + !is_item TYPE zif_abapgit_definitions=>ty_item + !is_sub_item TYPE zif_abapgit_definitions=>ty_item OPTIONAL + !iv_line_number TYPE i OPTIONAL + !iv_new_window TYPE abap_bool DEFAULT abap_true RETURNING - VALUE(rv_exit) TYPE abap_bool + VALUE(rv_exit) TYPE abap_bool RAISING zcx_abapgit_exception. diff --git a/src/objects/tabl/zcl_abapgit_object_tabl.clas.locals_imp.abap b/src/objects/tabl/zcl_abapgit_object_tabl.clas.locals_imp.abap index dd91abfc5..35e7638cd 100644 --- a/src/objects/tabl/zcl_abapgit_object_tabl.clas.locals_imp.abap +++ b/src/objects/tabl/zcl_abapgit_object_tabl.clas.locals_imp.abap @@ -9,7 +9,7 @@ CLASS lcl_tabl_xml DEFINITION FINAL. CLASS-METHODS read IMPORTING - io_xml TYPE REF TO zif_abapgit_xml_input + io_xml TYPE REF TO zif_abapgit_xml_input RETURNING VALUE(rs_internal) TYPE zif_abapgit_object_tabl=>ty_internal RAISING diff --git a/src/objects/texts/zcl_abapgit_i18n_params.clas.abap b/src/objects/texts/zcl_abapgit_i18n_params.clas.abap index 6c6360fc5..00555057e 100644 --- a/src/objects/texts/zcl_abapgit_i18n_params.clas.abap +++ b/src/objects/texts/zcl_abapgit_i18n_params.clas.abap @@ -15,7 +15,7 @@ CLASS zcl_abapgit_i18n_params DEFINITION !iv_use_lxe TYPE abap_bool DEFAULT abap_false !is_params TYPE zif_abapgit_definitions=>ty_i18n_params OPTIONAL RETURNING - VALUE(ro_instance) TYPE REF TO zcl_abapgit_i18n_params . + VALUE(ro_instance) TYPE REF TO zcl_abapgit_i18n_params . METHODS constructor IMPORTING !iv_main_language TYPE spras DEFAULT zif_abapgit_definitions=>c_english @@ -32,7 +32,7 @@ CLASS zcl_abapgit_i18n_params DEFINITION VALUE(rt_language_filter) TYPE zif_abapgit_environment=>ty_system_language_filter . METHODS trim_saplang_list CHANGING - ct_sap_langs TYPE zif_abapgit_definitions=>ty_sap_langu_tab + ct_sap_langs TYPE zif_abapgit_definitions=>ty_sap_langu_tab RAISING zcx_abapgit_exception. METHODS trim_saplang_keyed_table @@ -50,7 +50,7 @@ CLASS zcl_abapgit_i18n_params DEFINITION CLASS-METHODS iso_langs_to_lang_filter IMPORTING - it_iso_filter TYPE zif_abapgit_definitions=>ty_languages + it_iso_filter TYPE zif_abapgit_definitions=>ty_languages RETURNING VALUE(rt_language_filter) TYPE zif_abapgit_environment=>ty_system_language_filter. diff --git a/src/objects/texts/zcl_abapgit_lxe_texts.clas.abap b/src/objects/texts/zcl_abapgit_lxe_texts.clas.abap index 57284020b..3c0ffdcf9 100644 --- a/src/objects/texts/zcl_abapgit_lxe_texts.clas.abap +++ b/src/objects/texts/zcl_abapgit_lxe_texts.clas.abap @@ -47,7 +47,7 @@ CLASS zcl_abapgit_lxe_texts DEFINITION IMPORTING iv_object_type TYPE tadir-object RETURNING - VALUE(rv_yes) TYPE abap_bool. + VALUE(rv_yes) TYPE abap_bool. PROTECTED SECTION. PRIVATE SECTION. @@ -85,8 +85,8 @@ CLASS zcl_abapgit_lxe_texts DEFINITION METHODS serialize_as_po IMPORTING - !iv_object_type TYPE tadir-object - !iv_object_name TYPE tadir-obj_name + !iv_object_type TYPE tadir-object + !iv_object_name TYPE tadir-obj_name RAISING zcx_abapgit_exception . @@ -101,8 +101,8 @@ CLASS zcl_abapgit_lxe_texts DEFINITION METHODS deserialize_from_po IMPORTING - !iv_object_type TYPE tadir-object - !iv_object_name TYPE tadir-obj_name + !iv_object_type TYPE tadir-object + !iv_object_name TYPE tadir-obj_name RAISING zcx_abapgit_exception . diff --git a/src/objects/texts/zcl_abapgit_sotr_handler.clas.abap b/src/objects/texts/zcl_abapgit_sotr_handler.clas.abap index e6885fda0..afadf9682 100644 --- a/src/objects/texts/zcl_abapgit_sotr_handler.clas.abap +++ b/src/objects/texts/zcl_abapgit_sotr_handler.clas.abap @@ -17,14 +17,14 @@ CLASS zcl_abapgit_sotr_handler DEFINITION CLASS-METHODS read_sotr IMPORTING - !iv_pgmid TYPE pgmid DEFAULT 'R3TR' - !iv_object TYPE trobjtype - !iv_obj_name TYPE csequence - !io_xml TYPE REF TO zif_abapgit_xml_output OPTIONAL + !iv_pgmid TYPE pgmid DEFAULT 'R3TR' + !iv_object TYPE trobjtype + !iv_obj_name TYPE csequence + !io_xml TYPE REF TO zif_abapgit_xml_output OPTIONAL !io_i18n_params TYPE REF TO zcl_abapgit_i18n_params EXPORTING - !et_sotr TYPE ty_sotr_tt - !et_sotr_use TYPE ty_sotr_use_tt + !et_sotr TYPE ty_sotr_tt + !et_sotr_use TYPE ty_sotr_use_tt RAISING zcx_abapgit_exception . CLASS-METHODS create_sotr diff --git a/src/objects/texts/zcl_abapgit_sots_handler.clas.abap b/src/objects/texts/zcl_abapgit_sots_handler.clas.abap index 83731d0e5..1cb700037 100644 --- a/src/objects/texts/zcl_abapgit_sots_handler.clas.abap +++ b/src/objects/texts/zcl_abapgit_sots_handler.clas.abap @@ -17,14 +17,14 @@ CLASS zcl_abapgit_sots_handler DEFINITION CLASS-METHODS read_sots IMPORTING - !iv_pgmid TYPE pgmid DEFAULT 'R3TR' - !iv_object TYPE trobjtype - !iv_obj_name TYPE csequence - !io_xml TYPE REF TO zif_abapgit_xml_output OPTIONAL + !iv_pgmid TYPE pgmid DEFAULT 'R3TR' + !iv_object TYPE trobjtype + !iv_obj_name TYPE csequence + !io_xml TYPE REF TO zif_abapgit_xml_output OPTIONAL !io_i18n_params TYPE REF TO zcl_abapgit_i18n_params EXPORTING - !et_sots TYPE ty_sots_tt - !et_sots_use TYPE ty_sots_use_tt + !et_sots TYPE ty_sots_tt + !et_sots_use TYPE ty_sots_use_tt RAISING zcx_abapgit_exception. diff --git a/src/objects/texts/zif_abapgit_lxe_texts.intf.abap b/src/objects/texts/zif_abapgit_lxe_texts.intf.abap index ee7a1b20c..ac378fe31 100644 --- a/src/objects/texts/zif_abapgit_lxe_texts.intf.abap +++ b/src/objects/texts/zif_abapgit_lxe_texts.intf.abap @@ -15,20 +15,20 @@ INTERFACE zif_abapgit_lxe_texts METHODS serialize IMPORTING - !iv_object_type TYPE tadir-object - !iv_object_name TYPE tadir-obj_name - !io_i18n_params TYPE REF TO zcl_abapgit_i18n_params - !ii_xml TYPE REF TO zif_abapgit_xml_output - !io_files TYPE REF TO zcl_abapgit_objects_files + !iv_object_type TYPE tadir-object + !iv_object_name TYPE tadir-obj_name + !io_i18n_params TYPE REF TO zcl_abapgit_i18n_params + !ii_xml TYPE REF TO zif_abapgit_xml_output + !io_files TYPE REF TO zcl_abapgit_objects_files RAISING zcx_abapgit_exception . METHODS deserialize IMPORTING - !iv_object_type TYPE tadir-object OPTIONAL - !iv_object_name TYPE tadir-obj_name OPTIONAL - !io_i18n_params TYPE REF TO zcl_abapgit_i18n_params - !ii_xml TYPE REF TO zif_abapgit_xml_input - !io_files TYPE REF TO zcl_abapgit_objects_files + !iv_object_type TYPE tadir-object OPTIONAL + !iv_object_name TYPE tadir-obj_name OPTIONAL + !io_i18n_params TYPE REF TO zcl_abapgit_i18n_params + !ii_xml TYPE REF TO zif_abapgit_xml_input + !io_files TYPE REF TO zcl_abapgit_objects_files RAISING zcx_abapgit_exception . diff --git a/src/objects/zcl_abapgit_object_udmo.clas.abap b/src/objects/zcl_abapgit_object_udmo.clas.abap index ac6e3ed92..ec51281ac 100644 --- a/src/objects/zcl_abapgit_object_udmo.clas.abap +++ b/src/objects/zcl_abapgit_object_udmo.clas.abap @@ -27,9 +27,9 @@ CLASS zcl_abapgit_object_udmo DEFINITION " You are reminded that the text serialisation / de-serialisation methods depend upon a common type. " To make the dependency explicit, there is one common definition. BEGIN OF ty_udmo_text_type. - TYPES sprache TYPE dm40t-sprache. - TYPES dmoid TYPE dm40t-dmoid. - TYPES langbez TYPE dm40t-langbez. + TYPES sprache TYPE dm40t-sprache. + TYPES dmoid TYPE dm40t-dmoid. + TYPES langbez TYPE dm40t-langbez. TYPES as4local TYPE dm40t-as4local. TYPES END OF ty_udmo_text_type . diff --git a/src/objects/zcl_abapgit_object_ueno.clas.abap b/src/objects/zcl_abapgit_object_ueno.clas.abap index 1816aba86..079ac07ac 100644 --- a/src/objects/zcl_abapgit_object_ueno.clas.abap +++ b/src/objects/zcl_abapgit_object_ueno.clas.abap @@ -26,8 +26,8 @@ CLASS zcl_abapgit_object_ueno DEFINITION TYPES BEGIN OF ty_docu. TYPES language TYPE dm40t-sprache. TYPES header TYPE thead. - TYPES content TYPE xstring. - TYPES itf TYPE tsftext. + TYPES content TYPE xstring. + TYPES itf TYPE tsftext. TYPES END OF ty_docu. TYPES ty_docu_lines TYPE STANDARD TABLE OF ty_docu WITH DEFAULT KEY. @@ -124,8 +124,8 @@ CLASS zcl_abapgit_object_ueno IMPLEMENTATION. METHOD build_text_name. TYPES BEGIN OF ty_text_name. - TYPES id TYPE c LENGTH 4. - TYPES entity TYPE c LENGTH 26. + TYPES id TYPE c LENGTH 4. + TYPES entity TYPE c LENGTH 26. TYPES modifier TYPE c LENGTH 2. TYPES END OF ty_text_name. diff --git a/src/persist/zcl_abapgit_persistence_db.clas.abap b/src/persist/zcl_abapgit_persistence_db.clas.abap index 2a645b986..f73f44ac9 100644 --- a/src/persist/zcl_abapgit_persistence_db.clas.abap +++ b/src/persist/zcl_abapgit_persistence_db.clas.abap @@ -73,7 +73,7 @@ CLASS zcl_abapgit_persistence_db DEFINITION zcx_abapgit_exception . CLASS-METHODS validate_entry_type IMPORTING - !iv_type TYPE zif_abapgit_persistence=>ty_type + !iv_type TYPE zif_abapgit_persistence=>ty_type RAISING zcx_abapgit_exception . diff --git a/src/persist/zif_abapgit_persist_repo_cs.intf.abap b/src/persist/zif_abapgit_persist_repo_cs.intf.abap index b486af61d..baa6a8556 100644 --- a/src/persist/zif_abapgit_persist_repo_cs.intf.abap +++ b/src/persist/zif_abapgit_persist_repo_cs.intf.abap @@ -3,7 +3,7 @@ INTERFACE zif_abapgit_persist_repo_cs METHODS update IMPORTING - !iv_key TYPE zif_abapgit_persistence=>ty_repo-key + !iv_key TYPE zif_abapgit_persistence=>ty_repo-key !iv_cs_blob TYPE zif_abapgit_persistence=>ty_content-data_str RAISING zcx_abapgit_exception . @@ -14,7 +14,7 @@ INTERFACE zif_abapgit_persist_repo_cs zcx_abapgit_exception . METHODS read IMPORTING - !iv_key TYPE zif_abapgit_persistence=>ty_repo-key + !iv_key TYPE zif_abapgit_persistence=>ty_repo-key RETURNING VALUE(rv_cs_blob) TYPE zif_abapgit_persistence=>ty_content-data_str RAISING diff --git a/src/repo/zcl_abapgit_repo_checksums.clas.abap b/src/repo/zcl_abapgit_repo_checksums.clas.abap index f0facc570..7541cbacc 100644 --- a/src/repo/zcl_abapgit_repo_checksums.clas.abap +++ b/src/repo/zcl_abapgit_repo_checksums.clas.abap @@ -34,7 +34,7 @@ CLASS zcl_abapgit_repo_checksums DEFINITION METHODS build_checksums_from_files IMPORTING - it_local TYPE ty_local_files_by_item_tt + it_local TYPE ty_local_files_by_item_tt RETURNING VALUE(rt_checksums) TYPE zif_abapgit_persistence=>ty_local_checksum_tt. diff --git a/src/repo/zcl_abapgit_repo_checksums.clas.locals_imp.abap b/src/repo/zcl_abapgit_repo_checksums.clas.locals_imp.abap index d96ec3416..15f305482 100644 --- a/src/repo/zcl_abapgit_repo_checksums.clas.locals_imp.abap +++ b/src/repo/zcl_abapgit_repo_checksums.clas.locals_imp.abap @@ -129,11 +129,11 @@ CLASS lcl_update_calculator DEFINITION CLASS-METHODS calculate_updated IMPORTING - it_updated_files TYPE zif_abapgit_git_definitions=>ty_file_signatures_tt + it_updated_files TYPE zif_abapgit_git_definitions=>ty_file_signatures_tt it_current_checksums TYPE zif_abapgit_persistence=>ty_local_checksum_tt - it_local_files TYPE zif_abapgit_definitions=>ty_files_item_tt + it_local_files TYPE zif_abapgit_definitions=>ty_files_item_tt RETURNING - VALUE(rt_checksums) TYPE zif_abapgit_persistence=>ty_local_checksum_tt. + VALUE(rt_checksums) TYPE zif_abapgit_persistence=>ty_local_checksum_tt. PRIVATE SECTION. diff --git a/src/repo/zcl_abapgit_repo_checksums.clas.testclasses.abap b/src/repo/zcl_abapgit_repo_checksums.clas.testclasses.abap index 3b91ca498..899ea49aa 100644 --- a/src/repo/zcl_abapgit_repo_checksums.clas.testclasses.abap +++ b/src/repo/zcl_abapgit_repo_checksums.clas.testclasses.abap @@ -18,7 +18,7 @@ CLASS ltcl_test_checksum_serializer DEFINITION FINAL ev_str TYPE string. CLASS-METHODS space_to_separator IMPORTING - iv_str TYPE string + iv_str TYPE string RETURNING VALUE(rv_str) TYPE string. ENDCLASS. diff --git a/src/repo/zif_abapgit_repo_listener.intf.abap b/src/repo/zif_abapgit_repo_listener.intf.abap index 649474dcb..6f85f105f 100644 --- a/src/repo/zif_abapgit_repo_listener.intf.abap +++ b/src/repo/zif_abapgit_repo_listener.intf.abap @@ -3,8 +3,8 @@ INTERFACE zif_abapgit_repo_listener METHODS on_meta_change IMPORTING - !iv_key TYPE zif_abapgit_persistence=>ty_repo-key - !is_meta TYPE zif_abapgit_persistence=>ty_repo_xml + !iv_key TYPE zif_abapgit_persistence=>ty_repo-key + !is_meta TYPE zif_abapgit_persistence=>ty_repo_xml !is_change_mask TYPE zif_abapgit_persistence=>ty_repo_meta_mask RAISING zcx_abapgit_exception . diff --git a/src/ui/core/zcl_abapgit_gui_html_processor.clas.abap b/src/ui/core/zcl_abapgit_gui_html_processor.clas.abap index be0f79a0f..67da924f6 100644 --- a/src/ui/core/zcl_abapgit_gui_html_processor.clas.abap +++ b/src/ui/core/zcl_abapgit_gui_html_processor.clas.abap @@ -27,16 +27,16 @@ CLASS zcl_abapgit_gui_html_processor DEFINITION METHODS patch_html IMPORTING - iv_html TYPE string + iv_html TYPE string EXPORTING - ev_html TYPE string + ev_html TYPE string et_css_urls TYPE string_table RAISING zcx_abapgit_exception. METHODS is_preserved IMPORTING - !iv_css_url TYPE string + !iv_css_url TYPE string RETURNING VALUE(rv_yes) TYPE abap_bool. diff --git a/src/ui/core/zcl_abapgit_gui_utils.clas.abap b/src/ui/core/zcl_abapgit_gui_utils.clas.abap index bc119bece..275486cd6 100644 --- a/src/ui/core/zcl_abapgit_gui_utils.clas.abap +++ b/src/ui/core/zcl_abapgit_gui_utils.clas.abap @@ -7,12 +7,12 @@ CLASS zcl_abapgit_gui_utils DEFINITION CLASS-METHODS is_renderable IMPORTING - !io_obj TYPE REF TO object + !io_obj TYPE REF TO object RETURNING VALUE(rv_yes) TYPE abap_bool . CLASS-METHODS is_event_handler IMPORTING - !io_obj TYPE REF TO object + !io_obj TYPE REF TO object RETURNING VALUE(rv_yes) TYPE abap_bool . diff --git a/src/ui/core/zcl_abapgit_html.clas.abap b/src/ui/core/zcl_abapgit_html.clas.abap index 3773ad805..a8aaafdf7 100644 --- a/src/ui/core/zcl_abapgit_html.clas.abap +++ b/src/ui/core/zcl_abapgit_html.clas.abap @@ -31,7 +31,7 @@ CLASS zcl_abapgit_html DEFINITION VALUE(rv_html) TYPE string . CLASS-METHODS parse_data_attr IMPORTING - iv_str TYPE string OPTIONAL + iv_str TYPE string OPTIONAL RETURNING VALUE(rs_data_attr) TYPE zif_abapgit_html=>ty_data_attr . CLASS-METHODS set_debug_mode diff --git a/src/ui/core/zcl_abapgit_html_parts.clas.abap b/src/ui/core/zcl_abapgit_html_parts.clas.abap index 8b4d97f9b..ac8bd7b29 100644 --- a/src/ui/core/zcl_abapgit_html_parts.clas.abap +++ b/src/ui/core/zcl_abapgit_html_parts.clas.abap @@ -8,10 +8,10 @@ CLASS zcl_abapgit_html_parts DEFINITION METHODS add_part IMPORTING !iv_collection TYPE string - !ii_part TYPE REF TO zif_abapgit_html . + !ii_part TYPE REF TO zif_abapgit_html . METHODS get_parts IMPORTING - !iv_collection TYPE string + !iv_collection TYPE string RETURNING VALUE(rt_parts) TYPE zif_abapgit_html=>ty_table_of . METHODS get_collection_names @@ -37,10 +37,10 @@ CLASS zcl_abapgit_html_parts DEFINITION METHODS get_collection IMPORTING - !iv_collection TYPE string + !iv_collection TYPE string !iv_create_if_missing TYPE abap_bool DEFAULT abap_false RETURNING - VALUE(rr_collection) TYPE REF TO ty_named_collection . + VALUE(rr_collection) TYPE REF TO ty_named_collection . ENDCLASS. diff --git a/src/ui/core/zif_abapgit_gui_event_handler.intf.abap b/src/ui/core/zif_abapgit_gui_event_handler.intf.abap index 4d6bbc37e..3ed228c81 100644 --- a/src/ui/core/zif_abapgit_gui_event_handler.intf.abap +++ b/src/ui/core/zif_abapgit_gui_event_handler.intf.abap @@ -9,7 +9,7 @@ INTERFACE zif_abapgit_gui_event_handler METHODS on_event IMPORTING - ii_event TYPE REF TO zif_abapgit_gui_event + ii_event TYPE REF TO zif_abapgit_gui_event RETURNING VALUE(rs_handled) TYPE ty_handling_result RAISING diff --git a/src/ui/core/zif_abapgit_gui_html_processor.intf.abap b/src/ui/core/zif_abapgit_gui_html_processor.intf.abap index 678d7fb8f..791244aa9 100644 --- a/src/ui/core/zif_abapgit_gui_html_processor.intf.abap +++ b/src/ui/core/zif_abapgit_gui_html_processor.intf.abap @@ -3,10 +3,10 @@ INTERFACE zif_abapgit_gui_html_processor METHODS process IMPORTING - !iv_html TYPE string + !iv_html TYPE string !ii_gui_services TYPE REF TO zif_abapgit_gui_services RETURNING - VALUE(rv_html) TYPE string + VALUE(rv_html) TYPE string RAISING zcx_abapgit_exception. diff --git a/src/ui/core/zif_abapgit_html.intf.abap b/src/ui/core/zif_abapgit_html.intf.abap index d1d0d47ec..4b15fe4da 100644 --- a/src/ui/core/zif_abapgit_html.intf.abap +++ b/src/ui/core/zif_abapgit_html.intf.abap @@ -2,7 +2,7 @@ INTERFACE zif_abapgit_html PUBLIC. TYPES: BEGIN OF ty_data_attr, - name TYPE string, + name TYPE string, value TYPE string, END OF ty_data_attr, ty_data_attrs TYPE STANDARD TABLE OF ty_data_attr WITH KEY name. @@ -29,20 +29,20 @@ INTERFACE zif_abapgit_html PUBLIC. METHODS set_title IMPORTING - iv_title TYPE string + iv_title TYPE string RETURNING VALUE(ri_self) TYPE REF TO zif_abapgit_html. METHODS add IMPORTING - !ig_chunk TYPE any + !ig_chunk TYPE any RETURNING VALUE(ri_self) TYPE REF TO zif_abapgit_html. METHODS render IMPORTING !iv_no_indent_jscss TYPE abap_bool DEFAULT abap_false - !iv_no_line_breaks TYPE abap_bool DEFAULT abap_false + !iv_no_line_breaks TYPE abap_bool DEFAULT abap_false RETURNING VALUE(rv_html) TYPE string . @@ -52,22 +52,22 @@ INTERFACE zif_abapgit_html PUBLIC. METHODS add_a IMPORTING - !iv_txt TYPE string - !iv_act TYPE string - !iv_query TYPE string OPTIONAL - !iv_typ TYPE c DEFAULT c_action_type-sapevent - !iv_opt TYPE clike OPTIONAL - !iv_class TYPE string OPTIONAL - !iv_id TYPE string OPTIONAL - !iv_style TYPE string OPTIONAL - !iv_title TYPE string OPTIONAL + !iv_txt TYPE string + !iv_act TYPE string + !iv_query TYPE string OPTIONAL + !iv_typ TYPE c DEFAULT c_action_type-sapevent + !iv_opt TYPE clike OPTIONAL + !iv_class TYPE string OPTIONAL + !iv_id TYPE string OPTIONAL + !iv_style TYPE string OPTIONAL + !iv_title TYPE string OPTIONAL RETURNING VALUE(ri_self) TYPE REF TO zif_abapgit_html. METHODS add_checkbox IMPORTING - iv_id TYPE string - iv_checked TYPE abap_bool OPTIONAL + iv_id TYPE string + iv_checked TYPE abap_bool OPTIONAL RETURNING VALUE(ri_self) TYPE REF TO zif_abapgit_html. @@ -96,62 +96,62 @@ INTERFACE zif_abapgit_html PUBLIC. METHODS add_icon IMPORTING - !iv_name TYPE string - !iv_hint TYPE string OPTIONAL - !iv_class TYPE string OPTIONAL - !iv_onclick TYPE string OPTIONAL + !iv_name TYPE string + !iv_hint TYPE string OPTIONAL + !iv_class TYPE string OPTIONAL + !iv_onclick TYPE string OPTIONAL RETURNING VALUE(ri_self) TYPE REF TO zif_abapgit_html. METHODS wrap IMPORTING - !iv_tag TYPE string - !iv_content TYPE string OPTIONAL - !ii_content TYPE REF TO zif_abapgit_html OPTIONAL - !iv_id TYPE string OPTIONAL - !iv_class TYPE string OPTIONAL - !iv_hint TYPE string OPTIONAL + !iv_tag TYPE string + !iv_content TYPE string OPTIONAL + !ii_content TYPE REF TO zif_abapgit_html OPTIONAL + !iv_id TYPE string OPTIONAL + !iv_class TYPE string OPTIONAL + !iv_hint TYPE string OPTIONAL !iv_format_single_line TYPE abap_bool DEFAULT abap_false - !is_data_attr TYPE ty_data_attr OPTIONAL - !it_data_attrs TYPE ty_data_attrs OPTIONAL + !is_data_attr TYPE ty_data_attr OPTIONAL + !it_data_attrs TYPE ty_data_attrs OPTIONAL RETURNING - VALUE(ri_self) TYPE REF TO zif_abapgit_html. + VALUE(ri_self) TYPE REF TO zif_abapgit_html. METHODS td IMPORTING - !iv_content TYPE string OPTIONAL - !ii_content TYPE REF TO zif_abapgit_html OPTIONAL - !iv_id TYPE string OPTIONAL - !iv_class TYPE string OPTIONAL - !iv_hint TYPE string OPTIONAL + !iv_content TYPE string OPTIONAL + !ii_content TYPE REF TO zif_abapgit_html OPTIONAL + !iv_id TYPE string OPTIONAL + !iv_class TYPE string OPTIONAL + !iv_hint TYPE string OPTIONAL !iv_format_single_line TYPE abap_bool DEFAULT abap_true - !is_data_attr TYPE ty_data_attr OPTIONAL - !it_data_attrs TYPE ty_data_attrs OPTIONAL + !is_data_attr TYPE ty_data_attr OPTIONAL + !it_data_attrs TYPE ty_data_attrs OPTIONAL PREFERRED PARAMETER iv_content RETURNING - VALUE(ri_self) TYPE REF TO zif_abapgit_html. + VALUE(ri_self) TYPE REF TO zif_abapgit_html. METHODS th IMPORTING - !iv_content TYPE string OPTIONAL - !ii_content TYPE REF TO zif_abapgit_html OPTIONAL - !iv_id TYPE string OPTIONAL - !iv_class TYPE string OPTIONAL - !iv_hint TYPE string OPTIONAL + !iv_content TYPE string OPTIONAL + !ii_content TYPE REF TO zif_abapgit_html OPTIONAL + !iv_id TYPE string OPTIONAL + !iv_class TYPE string OPTIONAL + !iv_hint TYPE string OPTIONAL !iv_format_single_line TYPE abap_bool DEFAULT abap_true - !is_data_attr TYPE ty_data_attr OPTIONAL - !it_data_attrs TYPE ty_data_attrs OPTIONAL + !is_data_attr TYPE ty_data_attr OPTIONAL + !it_data_attrs TYPE ty_data_attrs OPTIONAL PREFERRED PARAMETER iv_content RETURNING - VALUE(ri_self) TYPE REF TO zif_abapgit_html. + VALUE(ri_self) TYPE REF TO zif_abapgit_html. METHODS div IMPORTING - !iv_content TYPE string OPTIONAL - !ii_content TYPE REF TO zif_abapgit_html OPTIONAL - !iv_id TYPE string OPTIONAL - !iv_class TYPE string OPTIONAL - !is_data_attr TYPE ty_data_attr OPTIONAL + !iv_content TYPE string OPTIONAL + !ii_content TYPE REF TO zif_abapgit_html OPTIONAL + !iv_id TYPE string OPTIONAL + !iv_class TYPE string OPTIONAL + !is_data_attr TYPE ty_data_attr OPTIONAL !it_data_attrs TYPE ty_data_attrs OPTIONAL PREFERRED PARAMETER iv_content RETURNING diff --git a/src/ui/lib/zcl_abapgit_gui_chunk_lib.clas.abap b/src/ui/lib/zcl_abapgit_gui_chunk_lib.clas.abap index 7ee0d3f67..fe330fbeb 100644 --- a/src/ui/lib/zcl_abapgit_gui_chunk_lib.clas.abap +++ b/src/ui/lib/zcl_abapgit_gui_chunk_lib.clas.abap @@ -21,9 +21,9 @@ CLASS zcl_abapgit_gui_chunk_lib DEFINITION VALUE(ri_html) TYPE REF TO zif_abapgit_html . CLASS-METHODS render_success IMPORTING - iv_message TYPE string + iv_message TYPE string RETURNING - VALUE(ri_html) TYPE REF TO zif_abapgit_html . + VALUE(ri_html) TYPE REF TO zif_abapgit_html . CLASS-METHODS render_repo_top IMPORTING !io_repo TYPE REF TO zcl_abapgit_repo @@ -189,7 +189,7 @@ CLASS zcl_abapgit_gui_chunk_lib DEFINITION CLASS-METHODS render_help_hint IMPORTING iv_text_to_wrap TYPE string - iv_add_class TYPE string OPTIONAL + iv_add_class TYPE string OPTIONAL RETURNING VALUE(rv_html) TYPE string. diff --git a/src/ui/lib/zcl_abapgit_html_table.clas.abap b/src/ui/lib/zcl_abapgit_html_table.clas.abap index 81c387f03..70edcc2ed 100644 --- a/src/ui/lib/zcl_abapgit_html_table.clas.abap +++ b/src/ui/lib/zcl_abapgit_html_table.clas.abap @@ -8,11 +8,11 @@ CLASS zcl_abapgit_html_table DEFINITION CLASS-METHODS create IMPORTING - !ii_renderer TYPE REF TO zif_abapgit_html_table OPTIONAL " Can be passed to renderer + !ii_renderer TYPE REF TO zif_abapgit_html_table OPTIONAL " Can be passed to renderer !is_initial_sorting_state TYPE zif_abapgit_html_table=>ty_sorting_state OPTIONAL PREFERRED PARAMETER ii_renderer RETURNING - VALUE(ro_instance) TYPE REF TO zcl_abapgit_html_table . + VALUE(ro_instance) TYPE REF TO zcl_abapgit_html_table . " maybe also th css_class METHODS define_column IMPORTING @@ -21,41 +21,41 @@ CLASS zcl_abapgit_html_table DEFINITION !iv_from_field TYPE abap_compname OPTIONAL !iv_sortable TYPE abap_bool DEFAULT abap_true RETURNING - VALUE(ro_self) TYPE REF TO zcl_abapgit_html_table . + VALUE(ro_self) TYPE REF TO zcl_abapgit_html_table . METHODS define_column_group IMPORTING !iv_group_id TYPE string OPTIONAL " not mandatory, but can be used for CSS (TODO data-gid) !iv_group_title TYPE string OPTIONAL " can be empty ! PREFERRED PARAMETER iv_group_title RETURNING - VALUE(ro_self) TYPE REF TO zcl_abapgit_html_table + VALUE(ro_self) TYPE REF TO zcl_abapgit_html_table RAISING zcx_abapgit_exception . " Maybe also data_provider " TODO record Limiter METHODS render IMPORTING - !ii_renderer TYPE REF TO zif_abapgit_html_table OPTIONAL - !it_data TYPE ANY TABLE - !iv_id TYPE csequence OPTIONAL - !iv_css_class TYPE csequence OPTIONAL - !iv_with_cids TYPE abap_bool DEFAULT abap_false + !ii_renderer TYPE REF TO zif_abapgit_html_table OPTIONAL + !it_data TYPE ANY TABLE + !iv_id TYPE csequence OPTIONAL + !iv_css_class TYPE csequence OPTIONAL + !iv_with_cids TYPE abap_bool DEFAULT abap_false !is_sorting_state TYPE zif_abapgit_html_table=>ty_sorting_state OPTIONAL !iv_wrap_in_div TYPE string OPTIONAL " div class name RETURNING - VALUE(ri_html) TYPE REF TO zif_abapgit_html + VALUE(ri_html) TYPE REF TO zif_abapgit_html RAISING zcx_abapgit_exception . " Sorting utils CLASS-METHODS detect_sorting_request IMPORTING - iv_event TYPE string + iv_event TYPE string RETURNING VALUE(rs_sorting_request) TYPE zif_abapgit_html_table=>ty_sorting_state. METHODS process_sorting_request IMPORTING - iv_event TYPE string + iv_event TYPE string RETURNING VALUE(rv_processed) TYPE abap_bool. @@ -101,13 +101,13 @@ CLASS zcl_abapgit_html_table DEFINITION METHODS render_row IMPORTING iv_row_index TYPE i - is_row TYPE any + is_row TYPE any RAISING zcx_abapgit_exception . METHODS render_column_title IMPORTING - is_col TYPE ty_column + is_col TYPE ty_column RETURNING VALUE(rv_text) TYPE string RAISING @@ -115,13 +115,13 @@ CLASS zcl_abapgit_html_table DEFINITION CLASS-METHODS cid_attr IMPORTING - iv_column_id TYPE string + iv_column_id TYPE string RETURNING VALUE(rs_data_attr) TYPE zif_abapgit_html=>ty_data_attr. CLASS-METHODS gid_attr IMPORTING - iv_column_id TYPE string + iv_column_id TYPE string RETURNING VALUE(rs_data_attr) TYPE zif_abapgit_html=>ty_data_attr. diff --git a/src/ui/lib/zcl_abapgit_html_toolbar.clas.abap b/src/ui/lib/zcl_abapgit_html_toolbar.clas.abap index 65f6cae38..2ceff0729 100644 --- a/src/ui/lib/zcl_abapgit_html_toolbar.clas.abap +++ b/src/ui/lib/zcl_abapgit_html_toolbar.clas.abap @@ -6,7 +6,7 @@ CLASS zcl_abapgit_html_toolbar DEFINITION CLASS-METHODS create IMPORTING - !iv_id TYPE string OPTIONAL + !iv_id TYPE string OPTIONAL RETURNING VALUE(ro_instance) TYPE REF TO zcl_abapgit_html_toolbar. METHODS constructor diff --git a/src/ui/lib/zif_abapgit_html_table.intf.abap b/src/ui/lib/zif_abapgit_html_table.intf.abap index cc5031d79..35642b98d 100644 --- a/src/ui/lib/zif_abapgit_html_table.intf.abap +++ b/src/ui/lib/zif_abapgit_html_table.intf.abap @@ -4,27 +4,27 @@ INTERFACE zif_abapgit_html_table TYPES: BEGIN OF ty_row_attrs, css_class TYPE string, - data TYPE zif_abapgit_html=>ty_data_attr, + data TYPE zif_abapgit_html=>ty_data_attr, END OF ty_row_attrs. TYPES: BEGIN OF ty_cell_render, css_class TYPE string, - content TYPE string, - html TYPE REF TO zif_abapgit_html, + content TYPE string, + html TYPE REF TO zif_abapgit_html, END OF ty_cell_render. TYPES: BEGIN OF ty_sorting_state, - column_id TYPE string, + column_id TYPE string, descending TYPE abap_bool, END OF ty_sorting_state. METHODS get_row_attrs IMPORTING - iv_table_id TYPE string - iv_row_index TYPE i - is_row TYPE any + iv_table_id TYPE string + iv_row_index TYPE i + is_row TYPE any RETURNING VALUE(rs_attrs) TYPE ty_row_attrs RAISING @@ -32,11 +32,11 @@ INTERFACE zif_abapgit_html_table METHODS render_cell IMPORTING - iv_table_id TYPE string - iv_row_index TYPE i - is_row TYPE any - iv_column_id TYPE string - iv_value TYPE any + iv_table_id TYPE string + iv_row_index TYPE i + is_row TYPE any + iv_column_id TYPE string + iv_value TYPE any RETURNING VALUE(rs_render) TYPE ty_cell_render RAISING diff --git a/src/ui/pages/codi/zcl_abapgit_gui_page_codi_base.clas.abap b/src/ui/pages/codi/zcl_abapgit_gui_page_codi_base.clas.abap index 35e9835aa..4a18a629b 100644 --- a/src/ui/pages/codi/zcl_abapgit_gui_page_codi_base.clas.abap +++ b/src/ui/pages/codi/zcl_abapgit_gui_page_codi_base.clas.abap @@ -37,9 +37,9 @@ CLASS zcl_abapgit_gui_page_codi_base DEFINITION zcx_abapgit_exception. METHODS render_head IMPORTING - !ii_html TYPE REF TO zif_abapgit_html - !iv_variant TYPE sci_chkv - !iv_summary TYPE string. + !ii_html TYPE REF TO zif_abapgit_html + !iv_variant TYPE sci_chkv + !iv_summary TYPE string. METHODS render_detail IMPORTING !ii_html TYPE REF TO zif_abapgit_html @@ -54,7 +54,7 @@ CLASS zcl_abapgit_gui_page_codi_base DEFINITION zcx_abapgit_exception. METHODS render_success IMPORTING - ii_html TYPE REF TO zif_abapgit_html + ii_html TYPE REF TO zif_abapgit_html iv_message TYPE string. METHODS build_base_menu RETURNING @@ -80,7 +80,7 @@ CLASS zcl_abapgit_gui_page_codi_base DEFINITION METHODS convert_result_to_view IMPORTING - it_result TYPE zif_abapgit_code_inspector=>ty_results + it_result TYPE zif_abapgit_code_inspector=>ty_results RETURNING VALUE(rt_view) TYPE ty_view_tab. METHODS explain_include @@ -116,10 +116,10 @@ CLASS zcl_abapgit_gui_page_codi_base DEFINITION zcx_abapgit_exception. METHODS render_stat IMPORTING - !ii_html TYPE REF TO zif_abapgit_html - !iv_count TYPE i - !iv_type TYPE string - !iv_title TYPE string + !ii_html TYPE REF TO zif_abapgit_html + !iv_count TYPE i + !iv_type TYPE string + !iv_title TYPE string RAISING zcx_abapgit_exception. diff --git a/src/ui/pages/codi/zcl_abapgit_gui_page_whereused.clas.abap b/src/ui/pages/codi/zcl_abapgit_gui_page_whereused.clas.abap index 1352a6f53..a4fbd72cc 100644 --- a/src/ui/pages/codi/zcl_abapgit_gui_page_whereused.clas.abap +++ b/src/ui/pages/codi/zcl_abapgit_gui_page_whereused.clas.abap @@ -15,8 +15,8 @@ CLASS zcl_abapgit_gui_page_whereused DEFINITION CLASS-METHODS create IMPORTING - iv_package TYPE devclass OPTIONAL - ii_repo TYPE REF TO zif_abapgit_repo OPTIONAL + iv_package TYPE devclass OPTIONAL + ii_repo TYPE REF TO zif_abapgit_repo OPTIONAL PREFERRED PARAMETER iv_package RETURNING VALUE(ri_page) TYPE REF TO zif_abapgit_gui_renderable diff --git a/src/ui/pages/sett/zcl_abapgit_gui_page_sett_glob.clas.abap b/src/ui/pages/sett/zcl_abapgit_gui_page_sett_glob.clas.abap index 8464ebc44..41b921af9 100644 --- a/src/ui/pages/sett/zcl_abapgit_gui_page_sett_glob.clas.abap +++ b/src/ui/pages/sett/zcl_abapgit_gui_page_sett_glob.clas.abap @@ -71,7 +71,7 @@ CLASS zcl_abapgit_gui_page_sett_glob DEFINITION CLASS-METHODS read_proxy_bypass IMPORTING io_form_data TYPE REF TO zcl_abapgit_string_map - io_settings TYPE REF TO zcl_abapgit_settings + io_settings TYPE REF TO zcl_abapgit_settings RAISING zcx_abapgit_exception. METHODS save_proxy_bypass diff --git a/src/ui/pages/zcl_abapgit_gui_page_repo_over.clas.locals_imp.abap b/src/ui/pages/zcl_abapgit_gui_page_repo_over.clas.locals_imp.abap index 582b88aa4..1f92c7ad3 100644 --- a/src/ui/pages/zcl_abapgit_gui_page_repo_over.clas.locals_imp.abap +++ b/src/ui/pages/zcl_abapgit_gui_page_repo_over.clas.locals_imp.abap @@ -12,7 +12,7 @@ CLASS lcl_table_scheme DEFINITION FINAL. iv_title TYPE string OPTIONAL iv_allow_order_by TYPE any OPTIONAL RETURNING - VALUE(ro_me) TYPE REF TO lcl_table_scheme. + VALUE(ro_me) TYPE REF TO lcl_table_scheme. ENDCLASS. diff --git a/src/ui/pages/zcl_abapgit_gui_page_stage.clas.abap b/src/ui/pages/zcl_abapgit_gui_page_stage.clas.abap index ecc824046..79c55fd92 100644 --- a/src/ui/pages/zcl_abapgit_gui_page_stage.clas.abap +++ b/src/ui/pages/zcl_abapgit_gui_page_stage.clas.abap @@ -21,22 +21,22 @@ CLASS zcl_abapgit_gui_page_stage DEFINITION CLASS-METHODS create IMPORTING - io_repo TYPE REF TO zcl_abapgit_repo_online - iv_seed TYPE string OPTIONAL - iv_sci_result TYPE zif_abapgit_definitions=>ty_sci_result DEFAULT zif_abapgit_definitions=>c_sci_result-no_run - ii_obj_filter TYPE REF TO zif_abapgit_object_filter OPTIONAL + io_repo TYPE REF TO zcl_abapgit_repo_online + iv_seed TYPE string OPTIONAL + iv_sci_result TYPE zif_abapgit_definitions=>ty_sci_result DEFAULT zif_abapgit_definitions=>c_sci_result-no_run + ii_obj_filter TYPE REF TO zif_abapgit_object_filter OPTIONAL ii_force_refresh TYPE abap_bool DEFAULT abap_true RETURNING - VALUE(ri_page) TYPE REF TO zif_abapgit_gui_renderable + VALUE(ri_page) TYPE REF TO zif_abapgit_gui_renderable RAISING zcx_abapgit_exception. METHODS constructor IMPORTING - io_repo TYPE REF TO zcl_abapgit_repo_online - iv_seed TYPE string OPTIONAL - iv_sci_result TYPE zif_abapgit_definitions=>ty_sci_result DEFAULT zif_abapgit_definitions=>c_sci_result-no_run - ii_obj_filter TYPE REF TO zif_abapgit_object_filter OPTIONAL + io_repo TYPE REF TO zcl_abapgit_repo_online + iv_seed TYPE string OPTIONAL + iv_sci_result TYPE zif_abapgit_definitions=>ty_sci_result DEFAULT zif_abapgit_definitions=>c_sci_result-no_run + ii_obj_filter TYPE REF TO zif_abapgit_object_filter OPTIONAL ii_force_refresh TYPE abap_bool DEFAULT abap_true RAISING zcx_abapgit_exception. diff --git a/src/ui/routing/zcl_abapgit_gui_router.clas.abap b/src/ui/routing/zcl_abapgit_gui_router.clas.abap index cbf6893af..685b6af98 100644 --- a/src/ui/routing/zcl_abapgit_gui_router.clas.abap +++ b/src/ui/routing/zcl_abapgit_gui_router.clas.abap @@ -72,7 +72,7 @@ CLASS zcl_abapgit_gui_router DEFINITION zcx_abapgit_exception. METHODS go_stage_transport IMPORTING - iv_key TYPE zif_abapgit_persistence=>ty_repo-key + iv_key TYPE zif_abapgit_persistence=>ty_repo-key RETURNING VALUE(ro_filter) TYPE REF TO zcl_abapgit_object_filter_tran RAISING diff --git a/src/utils/zcl_abapgit_log.clas.abap b/src/utils/zcl_abapgit_log.clas.abap index 787b60943..a22becf90 100644 --- a/src/utils/zcl_abapgit_log.clas.abap +++ b/src/utils/zcl_abapgit_log.clas.abap @@ -12,7 +12,7 @@ CLASS zcl_abapgit_log DEFINITION CLASS-METHODS from_exception IMPORTING - io_x TYPE REF TO cx_root + io_x TYPE REF TO cx_root RETURNING VALUE(ro_log) TYPE REF TO zcl_abapgit_log. diff --git a/src/utils/zcl_abapgit_string_map.clas.abap b/src/utils/zcl_abapgit_string_map.clas.abap index 79806f426..18721b97e 100644 --- a/src/utils/zcl_abapgit_string_map.clas.abap +++ b/src/utils/zcl_abapgit_string_map.clas.abap @@ -68,7 +68,7 @@ CLASS zcl_abapgit_string_map DEFINITION METHODS freeze . METHODS merge IMPORTING - !io_string_map TYPE REF TO zcl_abapgit_string_map + !io_string_map TYPE REF TO zcl_abapgit_string_map RETURNING VALUE(ro_instance) TYPE REF TO zcl_abapgit_string_map RAISING diff --git a/src/utils/zif_abapgit_log.intf.abap b/src/utils/zif_abapgit_log.intf.abap index 6eb563de2..aeb4ea669 100644 --- a/src/utils/zif_abapgit_log.intf.abap +++ b/src/utils/zif_abapgit_log.intf.abap @@ -29,8 +29,8 @@ INTERFACE zif_abapgit_log WITH NON-UNIQUE DEFAULT KEY . TYPES: BEGIN OF ty_msg, - text TYPE string, - type TYPE sy-msgty, + text TYPE string, + type TYPE sy-msgty, level TYPE i, END OF ty_msg . TYPES: @@ -93,13 +93,13 @@ INTERFACE zif_abapgit_log VALUE(rv_title) TYPE string . METHODS set_title IMPORTING - !iv_title TYPE csequence + !iv_title TYPE csequence RETURNING VALUE(ri_log) TYPE REF TO zif_abapgit_log. METHODS merge_with IMPORTING - ii_log TYPE REF TO zif_abapgit_log - iv_min_level TYPE i DEFAULT 0 + ii_log TYPE REF TO zif_abapgit_log + iv_min_level TYPE i DEFAULT 0 RETURNING VALUE(ri_log) TYPE REF TO zif_abapgit_log. METHODS clone diff --git a/test/src/zcl_abapgit_gitea.clas.abap b/test/src/zcl_abapgit_gitea.clas.abap index 0dc309c31..70725b0a4 100644 --- a/test/src/zcl_abapgit_gitea.clas.abap +++ b/test/src/zcl_abapgit_gitea.clas.abap @@ -2,7 +2,7 @@ CLASS zcl_abapgit_gitea DEFINITION PUBLIC. PUBLIC SECTION. CLASS-METHODS create_repo IMPORTING - iv_name TYPE string + iv_name TYPE string RETURNING VALUE(rv_url) TYPE string RAISING diff --git a/test/src/zif_abapgit_web_request.intf.abap b/test/src/zif_abapgit_web_request.intf.abap index f2ccba208..d65650793 100644 --- a/test/src/zif_abapgit_web_request.intf.abap +++ b/test/src/zif_abapgit_web_request.intf.abap @@ -2,7 +2,7 @@ INTERFACE zif_abapgit_web_request PUBLIC. METHODS get_header_field IMPORTING - iv_name TYPE string + iv_name TYPE string RETURNING VALUE(rv_value) TYPE string.