private List<String> getReadable(List<XmlOID> oids) { if (Utils.isCollectionNotEmpty(oids)) { List<String> result = new ArrayList<String>(); for (XmlOID xmlOID : oids) { if (Utils.isStringNotEmpty(xmlOID.getDescription())) { result.add(xmlOID.getDescription()); } else { result.add(xmlOID.getValue()); } } return result; } return null; }