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


##########
apache-rat-core/src/main/java/org/apache/rat/license/SimpleLicense.java:
##########
@@ -229,12 +230,16 @@ public SimpleLicense build() {
             if (licenseFamilies == null) {
                 throw new ImplementationException("'licenseFamilies' must not 
be null");
             }
-            ILicenseFamily family = 
LicenseFamilySetFactory.search(familyCategory, licenseFamilies);
-            if (family == null) {
+            if (StringUtils.isBlank(familyCategory)) {
+                throw new ImplementationException("License 'family'  must be 
specified");

Review Comment:
   there seem to be 2 spaces.



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