This commit is contained in:
valery1707 2024-09-26 10:43:17 -04:00 committed by GitHub
commit e0d7185a3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ public class CustomThymeleafNarrativeGenerator extends BaseThymeleafNarrativeGen
public NarrativeTemplateManifest getManifest() {
NarrativeTemplateManifest retVal = myManifest;
if (myManifest == null) {
Validate.isTrue(myPropertyFile != null, "Neither a property file or a manifest has been provided");
Validate.notNull(myPropertyFile, "Neither a property file or a manifest has been provided");
retVal = NarrativeTemplateManifest.forManifestFileLocation(myPropertyFile);
setManifest(retVal);
}