slachiewicz opened a new pull request, #938: URL: https://github.com/apache/maven-wagon/pull/938
These test classes drifted from `master`, which modernised them in passing: try-with-resources instead of `IOUtil.close` in a `finally`, `java.nio.file.Files` instead of `plexus-util` `FileUtils`, and a `conents` typo. This takes master's versions so the two lines stop diverging in files that every provider migration has to touch. Two files that also differ are deliberately left alone. `HttpWagonTests` is a published TCK class and master removed `getConfigurator()`, `getRepo()`, `getTmpfiles()` and `getPortPropertyValue()` from it — that is a 4.0 API drop, not drift, and it should not reach a patch line. In `wagon-webdav-jackrabbit/pom.xml` the only difference beyond the version is a comment master shortened, where this line's longer wording says more. One change is not cosmetic: `FtpWagonTest` had `assertTrue(true)` in a catch block, which asserts nothing, and master replaced it with `assertNotNull(e.getMessage())`. That test now checks something it did not check before. Verified: per-class `<testcase>` counts in the surefire XML are unchanged against `321d4603` across all 30 test classes, with no new errors, failures or skips. *This change 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]
