KenanAdel opened a new pull request, #28475:
URL: https://github.com/apache/flink/pull/28475

   ## What is the purpose of the change
   
   Fix CallContextMock to correctly handle optional arguments in test 
scenarios. The previous implementation could throw IndexOutOfBoundsException 
when accessing arguments that are not provided. This change ensures compliance 
with the CallContext interface contract by safely handling missing arguments.
   
   ## Brief change log
   
   - Prevent IndexOutOfBoundsException when accessing arguments beyond the 
available range
   - Return true for missing optional arguments or when the internal argument 
list is not initialized
   - Preserve existing behavior for explicitly provided arguments


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to