Renamed domains label method

This commit is contained in:
nsingh
2017-02-10 13:25:08 -08:00
parent e0dd23498f
commit d68745d3fa

View File

@@ -38,7 +38,7 @@ public class ManifestYamlCFDomainsProvider extends AbstractCFHintsProvider {
for (CFDomain domain : domains) {
String name = domain.getName();
String label = getBuildpackLabel(cfTarget, domain);
String label = getLabel(cfTarget, domain);
YValueHint hint = new BasicYValueHint(name, label);
if (!hints.contains(hint)) {
hints.add(hint);
@@ -53,7 +53,7 @@ public class ManifestYamlCFDomainsProvider extends AbstractCFHintsProvider {
return !hints.isEmpty() ? hints : null;
}
protected String getBuildpackLabel(CFTarget target, CFDomain domain) {
protected String getLabel(CFTarget target, CFDomain domain) {
return domain.getName() + " (" + target.getName() + ")";
}