return TemplateUtils.loadTemplate(resource,String.valueOf(TEMPLATE_VERSION),TEMPLATE_VERSION_PROPERTY); | return TemplateUtils.loadTemplate(resource,TEMPLATE_VERSION,TEMPLATE_VERSION_PROPERTY); | String.valueOf(TEMPLATE_VERSION) | TEMPLATE_VERSION | elasticsearch | dbe189b06446be4dfb9d28460c2f065ffbed11ee | org.elasticsearch.xpack.monitoring.agent.exporter.MonitoringTemplateUtils | | _1 | TEMPLATE_VERSION |
---|
_2 | TEMPLATE_VERSION |
---|
| | | | Uses | True |
return Pattern.compile(TEMPLATE_VERSION_PROPERTY).matcher(source.toUtf8()).replaceAll(String.valueOf(version)); | return Pattern.compile(versionProperty).matcher(source.toUtf8()).replaceAll(version); | String.valueOf(version) | version | elasticsearch | 12ff8853f05d37f04c93e6ba3c931c08b6d08df0 | org.elasticsearch.marvel.agent.exporter.MarvelTemplateUtils | | | | | | Uses | True |
String buildFile=template.replace(STR0,rule.getName()).replace(STR1,buildToolsVersion).replace(STR2,buildToolsDirectory).replace(STR3,Iterables.toString(apiLevels)).replace(STR4,String.valueOf(defaultApiLevel)).replace(STR5,systemImageDirsList); | String buildFile=template.replace(STR0,rule.getName()).replace(STR1,buildToolsVersion).replace(STR2,buildToolsDirectory).replace(STR3,Iterables.toString(apiLevels)).replace(STR4,defaultApiLevel).replace(STR5,systemImageDirsList); | String.valueOf(defaultApiLevel) | defaultApiLevel | bazel | e49886c55a7e2cfd6dd1fc52b037dc2d5a6ca019 | com.google.devtools.build.lib.bazel.rules.android.AndroidSdkRepositoryFunction | | _1 | defaultApiLevel |
---|
_2 | defaultApiLevel |
---|
| | | | Uses | True |