if (value == null) {
// our replacement values don't know how to replace the key, see if our system info template engine can
if (templateEngine == null) {
templateEngine = SystemInfoFactory.fetchTemplateEngine();
}
value = templateEngine.replaceTokens(next);
}
if (value != null) {
result = result.replace(next, value);
}
}