pzygielo commented on code in PR #914: URL: https://github.com/apache/maven/pull/914#discussion_r1050033376
########## maven-model/src/test/java/org/apache/maven/model/BuildTest.java: ########## @@ -53,4 +53,12 @@ public void testToStringNullSafe() assertNotNull( new Build().toString() ); } + public void testToStringNotNonsense() + { + Build build = new Build(); + + String s = build.toString(); + + assert "Build(super=BuildBase(super=PluginConfiguration(super=PluginContainer())))".equals( s ) : s; Review Comment: > That's a very verbose and not really useful `toString()` ... Also - I've stolen the format from https://projectlombok.org/features/ToString. Once something more useful than hashCode is provided by super class - it will be included there. -- 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: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org