in src/main/java/org/apache/sling/scripting/groovy/internal/GStringScriptEngineFactory.java [128:138]
private void registerTemplateEngine() {
if (templateEngine == null) {
return;
}
@SuppressWarnings("java:S1149")
final Dictionary<String, String> properties = new Hashtable<>();
properties.put(Constants.SERVICE_DESCRIPTION, "Groovy's GStringTemplateEngine");
properties.put(Constants.SERVICE_VENDOR, "The Apache Software Foundation");
logger.info("registering {} as service {} with properties {}", templateEngine, TemplateEngine.class.getName(), properties);
serviceRegistration = bundleContext.registerService(TemplateEngine.class, templateEngine, properties);
}