Skip to content

Commit e181ce4

Browse files
authored
1.12.3 (#334)
* new version * fixing object creation date check in trdir * fixing broken unit test due to dependency * fixing reversal threshold validation * reverting change * reverting changes * Update changelog.txt
1 parent f584cee commit e181ce4

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

changelog.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ Upgrade Note
1212
------------------
1313
Whenever you upgrade code pal for ABAP, it is highly recommended to execute the Y_CI_CHECK_REGISTRATION report to activate/reactivate the Checks (SE38 transaction) and regenerate the respective code inspector variant (SCI transaction)
1414

15+
2021-02-24 v1.12.3
16+
------------------
17+
* Object Creation Date from TRDIR table
18+
* Reversal Thresholds Validation
19+
1520
2021-02-09 v1.12.2
1621
------------------
1722
* Code Pal Exempts All the Sub-Objects (#326)

src/foundation/y_check_base.clas.abap

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ CLASS y_check_base IMPLEMENTATION.
242242
CLEAR result.
243243
RETURN.
244244
ENDIF.
245+
245246
ENDMETHOD.
246247

247248

@@ -746,7 +747,7 @@ CLASS y_check_base IMPLEMENTATION.
746747

747748

748749
METHOD is_skipped.
749-
result = xsdbool( ( config-threshold <= error_count AND settings-is_threshold_reversed = abap_true ) OR
750+
result = xsdbool( ( config-threshold < error_count AND settings-is_threshold_reversed = abap_true ) OR
750751
( config-threshold > error_count AND settings-is_threshold_reversed = abap_false ) OR
751752
( is_testcode = abap_true AND config-apply_on_testcode = abap_false ) OR
752753
( is_testcode = abap_false AND config-apply_on_productive_code = abap_false ) ).

src/foundation/y_object_creation_date.clas.abap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ CLASS y_object_creation_date IMPLEMENTATION.
137137
DELETE creation_dates WHERE cdat IS INITIAL.
138138

139139
TRY.
140-
result = creation_dates[ 0 ].
140+
result = creation_dates[ 1 ].
141141
CATCH cx_sy_itab_line_not_found.
142142
CLEAR result.
143143
ENDTRY.

src/y_code_pal_version.intf.abap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
INTERFACE y_code_pal_version PUBLIC.
2-
CONSTANTS abap TYPE string VALUE '1.12.2' ##NO_TEXT.
2+
CONSTANTS abap TYPE string VALUE '1.12.3' ##NO_TEXT.
33
ENDINTERFACE.

0 commit comments

Comments
 (0)