Skip to content

Commit 9d5a3bb

Browse files
remove NOSONAR marker in G-9030 to not hide violation
1 parent 0dde810 commit 9d5a3bb

File tree

1 file changed

+1
-2
lines changed
  • docs/4-language-usage/9-function-usage

1 file changed

+1
-2
lines changed

docs/4-language-usage/9-function-usage/g-9030.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ create or replace package body employee_api is
2323
co_dob_str constant type_up.date_string := in_dob_str;
2424
begin
2525
update employees
26-
set date_of_birth = to_date(co_dob_str,'FXYYYY-MM-DD' -- NOSONAR: G-1050 must be a literal
27-
)
26+
set date_of_birth = to_date(co_dob_str,'FXYYYY-MM-DD') -- violates also G-1050
2827
where employee_id = co_employee_id;
2928
end set_dob;
3029
end employee_api;

0 commit comments

Comments
 (0)