elharo commented on code in PR #2290:
URL: https://github.com/apache/maven/pull/2290#discussion_r2073206223
##########
impl/maven-impl/src/test/java/org/apache/maven/impl/DefaultModelXmlFactoryTest.java:
##########
@@ -105,7 +105,7 @@ void testNoNamespaceWithModelVersion400() throws Exception {
@Test
void testNullRequest() {
- assertThrows(IllegalArgumentException.class, () ->
factory.read((XmlReaderRequest) null));
+ assertThrows(NullPointerException.class, () ->
factory.read((XmlReaderRequest) null));
Review Comment:
I doubt it does. This change seems in the weeds enough to not affect many if
any clients.
--
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]