Skip to content

Commit 9b0ddc7

Browse files
committed
Addressed sonarqube commit errors
1 parent 5e59bcc commit 9b0ddc7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/utility-guides/NotifyCriteriaParser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The Notify Criteria Parser is a lightweight utility that extracts structured val
2020

2121
## Overview
2222

23-
Notify message filters are written as short text descriptions like "S1 - new" or "S1 (S1w) - sending".
23+
Notify message filters are written as short text descriptions like "S1 - new" or "S1 (S1w) - sending".
2424
The parser splits them into meaningful parts so that the system knows what message type to look for, whether there's a specific message code, and the message's status (like "new", "sending", etc). This parser breaks those strings into usable components for SQL query builders.
2525

2626
- `"S1 - new"`

utils/oracle/subject_selection_query_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,9 @@ def _preprocess_criteria(self, key: str, value: str, subject: "Subject") -> bool
164164
This method extracts and sets internal state needed to evaluate a subject selection criterion,
165165
including the criteria key name, modifier flags, value, and comparator. It also performs initial
166166
checks such as:
167-
- Ignoring commented-out criteria (those starting with "#")
168-
- Rejecting "unchanged" values if no subject is supplied
169-
- Preventing invalid use of "not" modifiers with NULL values
167+
- Ignoring commented-out criteria (those starting with "#")
168+
- Rejecting "unchanged" values if no subject is supplied
169+
- Preventing invalid use of "not" modifiers with NULL values
170170
171171
Parameters:
172172
key (str): The criteria key name (e.g. "subject age", "screening status")

0 commit comments

Comments
 (0)