From b4169ff4b6a53a1ec95c655c9e086ba4f5415c06 Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Wed, 16 Sep 2020 15:51:12 +0200 Subject: [PATCH] update lint config, plus remove identical condition (#3892) --- abaplint.json | 6 ++++++ src/objects/zcl_abapgit_object_vcls.clas.abap | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/abaplint.json b/abaplint.json index aabdd376a..bf4c34472 100644 --- a/abaplint.json +++ b/abaplint.json @@ -72,6 +72,12 @@ "globalMacros": [] }, "rules": { + "check_subrc": false, + "cyclomatic_complexity": { + "max": 25 + }, + "identical_conditions": true, + "use_line_exists": false, "line_break_style": true, "forbidden_pseudo_and_pragma": { "ignoreGlobalClassDefinition": true, diff --git a/src/objects/zcl_abapgit_object_vcls.clas.abap b/src/objects/zcl_abapgit_object_vcls.clas.abap index 1ef735c5f..ba98aa79d 100644 --- a/src/objects/zcl_abapgit_object_vcls.clas.abap +++ b/src/objects/zcl_abapgit_object_vcls.clas.abap @@ -200,8 +200,6 @@ CLASS ZCL_ABAPGIT_OBJECT_VCLS IMPLEMENTATION. iv_argument = lv_argument ) = abap_true OR check_lock( iv_tabname = 'VCLSTRUCT' iv_argument = lv_argument_langu ) = abap_true - OR check_lock( iv_tabname = 'VCLSTRUC' - iv_argument = lv_argument ) = abap_true OR check_lock( iv_tabname = 'VCLMF' iv_argument = lv_argument ) = abap_true.