if (reporter.errorsSince(checkpoint)) {
return Optional.absent();
}
CompiledTemplateRegistry compilerRegistry = new CompiledTemplateRegistry(registry);
if (developmentMode) {
<BUG>CompiledTemplates templates = new CompiledTemplates(
compilerRegistry.getTemplateNames(),
</BUG>
new CompilingClassLoader(compilerRegistry));
return Optional.of(templates);

if (reporter.errorsSince(checkpoint)) {
return Optional.absent();
}
CompiledTemplateRegistry compilerRegistry = new CompiledTemplateRegistry(registry);
if (developmentMode) {
CompiledTemplates templates =
new CompiledTemplates(
compilerRegistry.getDelegateTemplateNames(),
new CompilingClassLoader(compilerRegistry));
return Optional.of(templates);
