slachiewicz opened a new pull request, #297:
URL: https://github.com/apache/flink-connector-kafka/pull/297

   ## What is the purpose of the change
   
   Fix compiler `-Xlint` varargs warning in `KafkaSinkBuilderTest` 
(`non-varargs call of varargs method with inexact argument type for last 
parameter`) by changing `DEFAULT_KEYS` to `Object[]` matching 
`MapAssert.containsKeys(Object...)`, and simplify assertion loops.
   
   ## Brief change log
   
   - Declare `DEFAULT_KEYS` as `Object[]` in `KafkaSinkBuilderTest`
   - Simplify assertion loop in `testPropertyHandling` to direct 
`containsKeys(DEFAULT_KEYS)`
   
   ## Verifying this change
   
   - `mvn test -Dtest=KafkaSinkBuilderTest` passes cleanly with 0 warnings.


-- 
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