From 04a6d7e484f7ebfeedb2ee66485fe40230fb4ac2 Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Wed, 6 Nov 2019 09:35:18 +0100 Subject: [PATCH] Update abaplint.json to latest (#3045) * Update abaplint.json * chain mainly declarations --- abaplint.json | 8 +++++++- src/ui/zcl_abapgit_gui_page_diff.clas.abap | 7 +++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/abaplint.json b/abaplint.json index 343b8812b..efc3ded53 100644 --- a/abaplint.json +++ b/abaplint.json @@ -56,6 +56,11 @@ "globalMacros": [] }, "rules": { + "chain_mainly_declarations": true, + "check_abstract": true, + "check_text_elements": true, + "type_begin_single_include": true, + "types_naming": false, "7bit_ascii": {}, "abapdoc": { "enabled": false, @@ -217,7 +222,8 @@ "multiply": true, "move": true, "divide": true, - "requested": true + "requested": true, + "occurs": true }, "parser_error": {}, "preferred_compare_operator": { diff --git a/src/ui/zcl_abapgit_gui_page_diff.clas.abap b/src/ui/zcl_abapgit_gui_page_diff.clas.abap index 75725006c..cc3b7435f 100644 --- a/src/ui/zcl_abapgit_gui_page_diff.clas.abap +++ b/src/ui/zcl_abapgit_gui_page_diff.clas.abap @@ -190,8 +190,11 @@ CLASS ZCL_ABAPGIT_GUI_PAGE_DIFF IMPLEMENTATION. APPEND -changed_by TO lt_users. ENDLOOP. - SORT: lt_types, lt_users. - DELETE ADJACENT DUPLICATES FROM: lt_types, lt_users. + SORT lt_types. + DELETE ADJACENT DUPLICATES FROM lt_types. + + SORT lt_users. + DELETE ADJACENT DUPLICATES FROM lt_users. IF lines( lt_types ) > 1 OR lines( lt_users ) > 1. CREATE OBJECT lo_sub_filter EXPORTING iv_id = 'diff-filter'.