Merge 87bfdb0c2b
into 3f6d1eb29b
This commit is contained in:
commit
e0d7185a3e
|
@ -70,7 +70,7 @@ public class CustomThymeleafNarrativeGenerator extends BaseThymeleafNarrativeGen
|
||||||
public NarrativeTemplateManifest getManifest() {
|
public NarrativeTemplateManifest getManifest() {
|
||||||
NarrativeTemplateManifest retVal = myManifest;
|
NarrativeTemplateManifest retVal = myManifest;
|
||||||
if (myManifest == null) {
|
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);
|
retVal = NarrativeTemplateManifest.forManifestFileLocation(myPropertyFile);
|
||||||
setManifest(retVal);
|
setManifest(retVal);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue