ottlinger commented on code in PR #252:
URL: https://github.com/apache/creadur-rat/pull/252#discussion_r1606413162
##########
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:
Fixed typo in class.
--
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]