public Map<String,String> mapNameToDisplayName(Set<String> names) throws SMSException, SSOException {
  final Map<String,String> map=new HashMap<>(names.size());
  for (  String name : names) {
    if (smsConsoleServiceConfig.isServiceVisible(name)) {
      final ServiceSchemaManager serviceSchemaManager=serviceSchemaManagerFactory.build(name);
      String displayName=getLocalizedServiceName(serviceSchemaManager,name);
      String resourceName=serviceSchemaManager.getResourceName();
      if (!name.equals(displayName) && !StringUtils.isBlank(resourceName)) {
        map.put(resourceName,displayName);
      }
    }
  }
  return map;
}

public Map < String , String > mapNameToDisplayName ( Set < String > names ) throws SMSException , SSOException { final Map < String , String > map = new HashMap < > ( names . size ( ) ) ; for ( String name : names ) { if ( smsConsoleServiceConfig . isServiceVisible ( name ) ) { final ServiceSchemaManager serviceSchemaManager = serviceSchemaManagerFactory . build ( name ) ; String displayName = getLocalizedServiceName ( serviceSchemaManager , name ) ; String resourceName = serviceSchemaManager . getResourceName ( ) ; if ( ! name . equals ( displayName ) && ! StringUtils . isBlank ( resourceName ) ) { map . put ( resourceName , displayName ) ; } } } return map ; }
maps service internal names to displayable ( localized ) names via their resource names . services without resource names are not included in the returned map .
