Update abaplint.json to latest (#3045)

* Update abaplint.json

* chain mainly declarations
This commit is contained in:
Lars Hvam 2019-11-06 09:35:18 +01:00 committed by GitHub
parent e014efd3f4
commit 04a6d7e484
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 3 deletions

View File

@ -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": {

View File

@ -190,8 +190,11 @@ CLASS ZCL_ABAPGIT_GUI_PAGE_DIFF IMPLEMENTATION.
APPEND <ls_diff>-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'.