Skip to content

(BE) Support VIDEO_60_PERCENT_WATCHED event type #855#423

Open
mariusmarin-dev wants to merge 5 commits into
mainfrom
855-60_percent_watched
Open

(BE) Support VIDEO_60_PERCENT_WATCHED event type #855#423
mariusmarin-dev wants to merge 5 commits into
mainfrom
855-60_percent_watched

Conversation

@mariusmarin-dev

Copy link
Copy Markdown

No description provided.

* @param eventJSON the client supplied event details.
* @return a {@link SegueErrorResponse} describing the first validation failure, or null if the payload is valid.
*/
private SegueErrorResponse validateVideoEngagementEvent(final Map<String, Object> eventJSON) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.naming.AbbreviationAsWordInNameCheck> reported by reviewdog 🐶
Abbreviation in name 'eventJSON' must contain no more than '1' consecutive capital letters.

* @param fieldName the field to read.
* @return the value as a Double, or null if the field is absent or not a number.
*/
private static Double getNumericField(final Map<String, Object> eventJSON, final String fieldName) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.naming.AbbreviationAsWordInNameCheck> reported by reviewdog 🐶
Abbreviation in name 'eventJSON' must contain no more than '1' consecutive capital letters.

for (int i = 1; i < userIds.size(); i++) {
inParams.append(",?");
}
String inParams = "?" +

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.whitespace.OperatorWrapCheck> reported by reviewdog 🐶
'+' should be on a new line.

@sonarqubecloud

sonarqubecloud Bot commented Jul 3, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant