update abaplint configuration to latest (#798)

This commit is contained in:
Lars Hvam 2021-09-19 11:23:22 +02:00 committed by GitHub
parent 8abf2adf9f
commit 5fa4f838b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

@ -19,6 +19,11 @@
"globalMacros": [] "globalMacros": []
}, },
"rules": { "rules": {
"constant_classes": true,
"cyclic_oo": false,
"many_parentheses": true,
"pragma_placement": true,
"unused_ddic": false,
"dangerous_statement": true, "dangerous_statement": true,
"db_operation_in_loop": false, "db_operation_in_loop": false,
"identical_descriptions": false, "identical_descriptions": false,
@ -37,7 +42,6 @@
"call_transaction_authority_check": true, "call_transaction_authority_check": true,
"function_module_recommendations": false, "function_module_recommendations": false,
"identical_contents": false, "identical_contents": false,
"many_parenthesis": false,
"method_overwrites_builtin": true, "method_overwrites_builtin": true,
"omit_parameter_name": false, "omit_parameter_name": false,
"omit_receiving": true, "omit_receiving": true,

View File

@ -41,8 +41,7 @@ CLASS zcl_date_calculation IMPLEMENTATION.
e_month = 0. e_month = 0.
CHECK NOT ( i_date_from IS INITIAL ) CHECK i_date_from IS NOT INITIAL AND i_date_to IS NOT INITIAL.
AND NOT ( i_date_to IS INITIAL ).
date_to = i_date_to. date_to = i_date_to.
IF i_incl_to = abap_true. IF i_incl_to = abap_true.