From 446058cd1aa628eb8730e0529858fbbf0df90969 Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Sat, 11 May 2024 11:16:54 +0200 Subject: [PATCH] add method set_optimized --- abaplint.jsonc | 4 ++++ package.json | 2 +- src/salv/cl_salv_column.clas.abap | 5 +++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/abaplint.jsonc b/abaplint.jsonc index fdfc87c..c7c1a3c 100644 --- a/abaplint.jsonc +++ b/abaplint.jsonc @@ -17,6 +17,10 @@ ], "rules": { "check_include": true, + "align_pseudo_comments": true, + "invalid_table_index": true, + "no_prefixes": false, + "prefer_pragmas": true, "uncaught_exception": true, "cds_legacy_view": true, "expand_macros": true, diff --git a/package.json b/package.json index 9466fac..f23d1bd 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ }, "license": "MIT", "dependencies": { - "@abaplint/cli": "^2.107.4", + "@abaplint/cli": "^2.108.2", "@abaplint/runtime": "^2.8.24", "@abaplint/database-sqlite": "^2.8.0", "@abaplint/transpiler-cli": "^2.8.24" diff --git a/src/salv/cl_salv_column.clas.abap b/src/salv/cl_salv_column.clas.abap index 3f8f5cc..ba50110 100644 --- a/src/salv/cl_salv_column.clas.abap +++ b/src/salv/cl_salv_column.clas.abap @@ -6,9 +6,14 @@ CLASS cl_salv_column DEFINITION PUBLIC. METHODS set_long_text IMPORTING value TYPE string. METHODS set_output_length IMPORTING value TYPE any. METHODS set_sign IMPORTING value TYPE any OPTIONAL. + METHODS set_optimized IMPORTING value TYPE abap_bool DEFAULT abap_true. ENDCLASS. CLASS cl_salv_column IMPLEMENTATION. + METHOD set_optimized. + ASSERT 1 = 'todo'. + ENDMETHOD. + METHOD set_technical. ASSERT 1 = 'todo'. ENDMETHOD.