Bukama commented on code in PR #11284:
URL: https://github.com/apache/maven/pull/11284#discussion_r2437192925
##########
compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java:
##########
@@ -56,19 +56,20 @@ void testXmlRoundtripWithProperties() throws Exception {
@Test
void testNamespaceInXmlNode() throws XMLStreamException {
- String xml = "<project
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
- + " xmlns=\"http://maven.apache.org/POM/4.0.0\"\n"
- + "
xsi:schemaLocation=\"http://maven.apache.org/POM/4.0.0
http://maven.apache.org/POM/4.0.0\">\n"
- + " <build>\n"
- + " <plugins>\n"
- + " <plugin>\n"
- + " <m:configuration
xmlns:m=\"http://maven.apache.org/POM/4.0.0\"
xmlns=\"http://fabric8.io/fabric8-maven-plugin\">\n"
- + " <myConfig>foo</myConfig>\n"
- + " </m:configuration>\n"
- + " </plugin>\n"
- + " </plugins>\n"
- + " </build>\n"
- + "</project>";
+ String xml = """
Review Comment:
If you can't read it because it contains line breaks, you have other
problems. The IDE suggestion is to make use of the new language feature...
--
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]