/** * Retrieves the set of values of the specified attribute as a string list. * * @param attributeName The name of the target attribute. * @return The string values of the specified attribute, or an empty list if the specified * attribute does not exist in the entry. */ protected final List<String> getStrings(final String attributeName) { final String[] valueStrs = entry.getAttributeValues(attributeName); if (valueStrs == null) { if (debugEnabled(DebugType.MONITOR)) { debugMonitor(entry, "No values for string attribute " + attributeName); } return Collections.emptyList(); } return Collections.unmodifiableList(Arrays.asList(valueStrs)); }