elharo commented on PR #223: URL: https://github.com/apache/maven-jlink-plugin/pull/223#issuecomment-2520532287
No args constructors mostly aren't used in tests. Instead objects are instantiated via lookup(). however when we need direct construction you can just pass null for constructor arguments that set fields not used in tests. In general, I prefer to avoid methods that exist only for tests. -- 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