ottlinger commented on code in PR #599:
URL: https://github.com/apache/creadur-rat/pull/599#discussion_r2647121191


##########
apache-rat-core/src/main/java/org/apache/rat/help/Help.java:
##########
@@ -36,12 +39,12 @@ public class Help extends AbstractHelp {
     /**
      * An array of notes to go at the bottom of the help output
      */
-    protected static final String[] NOTES = {
+    protected static final List<String> NOTES = 
Collections.unmodifiableList(List.of(

Review Comment:
   Spotbugs marked the use of this array as a potential security risk as the 
array could be changed. Albeit it's rather academic I converted it to an 
unmodifiable structure ;)



-- 
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]

Reply via email to