ottlinger commented on code in PR #249:
URL: https://github.com/apache/creadur-rat/pull/249#discussion_r1597488051
##########
apache-rat-core/src/main/java/org/apache/rat/Report.java:
##########
@@ -405,7 +422,6 @@ static ReportConfiguration createConfiguration(String
baseDirectory, CommandLine
}
URL url =
Report.class.getClassLoader().getResource(String.format("org/apache/rat/%s.xsl",
style[0]));
-
Review Comment:
Should we add a tryCatch around this trying to load the xsl file in case
user input is invalid/not found?
--
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]