slachiewicz commented on issue #431:
URL: 
https://github.com/apache/maven-shared-utils/issues/431#issuecomment-5631309612

   Direction, for whoever picks this up: the seven warnings are all in 
`StringUtilsTest` and come from passing a `null` or a `String[]` typed as 
`Object` to a `String...` parameter. The fix is the cast the compiler suggests, 
`(String[]) null` where the test means "no varargs" and `(String) null` where 
it means one null element; pick whichever the assertion is actually testing, 
since the two are different calls. No change to `StringUtils` itself. `mvn -q 
test-compile` on master currently prints all seven, so the check is that it 
prints none.
   
   @Luffy777-max, since you said you are on it: a PR against master is welcome; 
if nothing lands within a week we will pick it up.
   
   *This comment was created with AI assistance.*
   


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