Bug 539849 - Guard against NPE in TemplateStore.getRegistry().

When the underlying ContextTypeRegistry is null for
TemplateStoreCore.getRegistry(), it indicates that all templates should
be loaded, so simply return null in TemplateStore.getRegistry().

Change-Id: I5ddf2400e4eeb68f269555f24a48dd3cfee008ba
Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
1 file changed