Claudenw commented on code in PR #233:
URL: https://github.com/apache/creadur-rat/pull/233#discussion_r1564500839


##########
apache-rat-core/src/main/java/org/apache/rat/configuration/builders/SpdxBuilder.java:
##########
@@ -32,22 +31,22 @@ public class SpdxBuilder extends AbstractBuilder {
 
     /**
      * sets the name for the SPDX matcher
-     * @param name
-     * @return
+     * @param name The text that follows the colon ':' in the SPDX tag.
+     * @return this builder for chaining.
      */
     public SpdxBuilder setName(String name) {
-        Objects.requireNonNull(name, "name must not be null");
+        Objects.requireNonNull(name, "spdx name must not be null");

Review Comment:
   We are only looking for the identifier for the license [1] the search for 
the SPDX part is automatic.  But we should be consistent in the documentation.  
Change to 'SPDX' made in all found documentation.
   
   [1] https://spdx.org/licenses/



-- 
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: dev-unsubscr...@creadur.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to