Skip to content

Conversation

@sadilchamishka
Copy link
Contributor

Purpose

$subject

Copilot AI review requested due to automatic review settings July 24, 2025 06:58
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a potential NullPointerException by adding a null/empty check for the parameter list before iterating through it in the getTaskDetails method.

  • Adds Apache Commons Collections utility import for safer collection handling
  • Introduces early return when parameter list is null or empty to prevent NPE

@sadilchamishka sadilchamishka merged commit ce0edb0 into wso2-extensions:main Jul 24, 2025
2 checks passed
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.

2 participants